|
org.netbeans.modules.projectuiapi/1 1.24.1 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ProjectCustomizer.CompositeCategoryProvider
Interface for creation of Customizer categories and their respective UI panels.
Implementations are to be registered in System FileSystem via module layers. Used by the
ProjectCustomizer.createCustomizerDialog(String,Lookup,String,ActionListener,HelpCtx)
The panel/category created by the provider can get notified that the customizer got
closed by setting an ActionListener to
ProjectCustomizer.Category.setOkButtonListener(java.awt.event.ActionListener) .
UI Component can be defined for category folder that is represented as node with subnodes in the category
tree of project customizer. Name of the file that defines the instance class in layer for such category
must be named "Self". Such CompositeCategory won't have the createCategory() method called, but will have the category created by
the infrastructure based on the folder content.
For details and usage see issue #91276.
| Method Summary | |
|---|---|
ProjectCustomizer.Category |
createCategory(Lookup context)
create the Category instance for the given project customizer context. |
JComponent |
createComponent(ProjectCustomizer.Category category,
Lookup context)
create the UI component for given category and context. |
| Method Detail |
|---|
ProjectCustomizer.Category createCategory(Lookup context)
context - Lookup instance passed from project The content is up to the project type, please consult documentation
for the project type you want to integrate your panel into.
JComponent createComponent(ProjectCustomizer.Category category,
Lookup context)
ActionListener to
ProjectCustomizer.Category.setOkButtonListener(java.awt.event.ActionListener).
category - Category instance that was created in the createCategory method.context - Lookup instance passed from project The content is up to the project type, please consult documentation
for the project type you want to integrate your panel into.
|
org.netbeans.modules.projectuiapi/1 1.24.1 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||