This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Javadoc does not contain enogh information to implement a CustomizerProvider. I've tried to implement one and added it to my project's lookup. I've even tried to add it to META-INF/services. Hasn't worked either.
In what sense did it "not work"? File > Project Properties was not enabled when it was in your project lookup?
Only default properties (name and one other, don't remember), but if I understand correct, a dialog panel should be shown with a component of my own!? However, it should be clearly documented what is needed and what is to be expected at which place - that would help very much, an it would make it easier to file bugs (if there are any ;-) ).
The second property is "Sort mode". Is there probably sth. additional necessary in the project's lookup? Or anything which must not be there? Anything to add to the node? Probably an action to provide?
your customizerprovider if put in project lookup shall have been called for you to create the dialog. if it didn't work, please attach a sample project demonstrating the problem. I don't understand your comments about sort mode.
I'm afraid I don't understand the questions either. If there is a CustomizerProvider in your project's lookup then File > Project Properties should be enabled, and when selected, should run your showCustomizer implementation. What more is there to say?
Hmm, I've looked at java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SELogicalViewProvider.java There's a CommonProjectActions.customizeProjectAction() added to the created node. From the API I'd understand, that the action should be automatically created for the CustomizerProvider provided in the lookup !?
The lookup entry makes it possible for the action to be enabled. It is always present in the File menu; it you want it in your context menu you need to add it. Ought to cross-link between Javadoc of CP and CPA.cPA.
Please, also describe the relationship between interface org.netbeans.spi.project.ActionProvider and the actions supported in the logical view's node actions. The problem I see with the action provider is the mixture of predefined constants with those I'd support by my own, which might result in conclicting names; it also might have performance drawbacks. However, the API description says, an ActionProvider should be in the project's lookup. The other thing is class org.netbeans.spi.project.ui.support.CommonProjectActions, which contains executable Actions, which may be added to the view's node ...
I'm not sure I followed any of the last comment. Best to use dev@openide.netbeans.org for general questions if you are learning how to use the APIs. File (individual) issues for specific problems with Javadoc after you understand what you are doing and can confirm that the Javadoc is incorrect or incomplete.
@jglick: 1. The more special some questions are, the less response on the dev lists :-( 2. Shouldn't the docs allow learning how to use the API - surely some developers are bored answering the same questions several times ... 3. My question is about implementation of the project's node: It seems, I can add named actions as well as "real" actions (implementing the Action interface and adding some code to it). So, how are these actions used? Are they just combined, or do they even interfere?
Of course docs should allow you to learn how to use the APIs, but if they don't, you will need to learn from some other source and then request that the docs be fixed in specific ways. Your logical view can contain whatever Action's you like. For some standard ones, the Javadoc says e.g. "Creates an action sensitive to the set of currently selected projects. When performed the action will call the given command on the ActionProvider of the selected project(s). The action will only be enabled when exactly one project is selected and the command is enabled in the project's action provider." which is still correct. Whatever else you are asking about I don't understand. Probably you should look at some source code using the APIs for examples.
@jglick: Please, be so kind as to provide me with the link or at least the class or interface name, where I could find this javadoc - couldn't find it, neither in ActionProvider nor CommonProjectActions.
http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-projectuiapi/org/netbeans/spi/project/ui/support/ProjectSensitiveActions.html#projectCommandAction(java.lang.String,%20java.lang.String,%20javax.swing.Icon)
Change of default owner.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss