| java.lang.Object org.netbeans.spi.project.ui.support.ProjectCustomizer
Inner Class :public static interface CategoryComponentProvider | |
Inner Class :public static interface CompositeCategoryProvider | |
Inner Class :final public static class Category | |
Inner Class :static class DelegateCategoryProvider implements CategoryComponentProvider,CompositeCategoryProvider,Lookup.Provider | |
Method Summary | |
public static Dialog | createCustomizerDialog(Category[] categories, CategoryComponentProvider componentProvider, String preselectedCategory, ActionListener okOptionListener, HelpCtx helpCtx) Creates standard customizer dialog which can be used for implementation
of
org.netbeans.spi.project.ui.CustomizerProvider . | public static Dialog | createCustomizerDialog(Category[] categories, CategoryComponentProvider componentProvider, String preselectedCategory, ActionListener okOptionListener, ActionListener storeListener, HelpCtx helpCtx) Creates standard customizer dialog which can be used for implementation
of
org.netbeans.spi.project.ui.CustomizerProvider . | public static Dialog | createCustomizerDialog(String folderPath, Lookup context, String preselectedCategory, ActionListener okOptionListener, HelpCtx helpCtx) Creates standard customizer dialog that can be used for implementation of
org.netbeans.spi.project.ui.CustomizerProvider based on content of a folder in Layers.
Use this method when you want to allow composition and 3rd party additions to your customizer UI.
You don't need to call pack() method on the dialog. | public static Dialog | createCustomizerDialog(String folderPath, Lookup context, String preselectedCategory, ActionListener okOptionListener, ActionListener storeListener, HelpCtx helpCtx) Creates standard customizer dialog that can be used for implementation of
org.netbeans.spi.project.ui.CustomizerProvider based on content of a folder in Layers.
Use this method when you want to allow composition and 3rd party additions to your customizer UI.
This version runs processing of the customizer data partially off AWT Event Queue.
You don't need to call pack() method on the dialog. |
createCustomizerDialog | public static Dialog createCustomizerDialog(Category[] categories, CategoryComponentProvider componentProvider, String preselectedCategory, ActionListener okOptionListener, HelpCtx helpCtx)(Code) | | Creates standard customizer dialog which can be used for implementation
of
org.netbeans.spi.project.ui.CustomizerProvider . You don't need
to call pack() method on the dialog. The resulting dialog will
be non-modal.
Call show() on the dialog to make it visible. The dialog
will be closed automatically after click on "OK" or "Cancel" button.
Parameters: categories - array of descriptions of categories to be shown in thedialog. Note that categories have the valid property. If any of the given categories is not valid cusomizer'sOK button will be disabled until all categories become validagain. Parameters: componentProvider - creator of GUI components for categories in thecustomizer dialog. Parameters: preselectedCategory - name of one of the supplied categories or null.Category with given name will be selected. If null or if the category of given name does not exist the first category willbe selected. Parameters: okOptionListener - listener which will be notified when the user pressesthe OK button. Parameters: helpCtx - Help context for the dialog, which will be used when thepanels in the customizer do not specify their own help context. standard project customizer dialog. |
createCustomizerDialog | public static Dialog createCustomizerDialog(Category[] categories, CategoryComponentProvider componentProvider, String preselectedCategory, ActionListener okOptionListener, ActionListener storeListener, HelpCtx helpCtx)(Code) | | Creates standard customizer dialog which can be used for implementation
of
org.netbeans.spi.project.ui.CustomizerProvider . Use this version if you need
to run processing of the customizer data partially off AWT Event Queue. You don't need
to call pack() method on the dialog. The resulting dialog will
be non-modal.
Call show() on the dialog to make it visible. If you want the dialog to be
closed after user presses the "OK" button you have to call hide() and dispose() on it.
(Usually in the actionPerformed(...) method of the listener
you provided as a parameter. In case of the click on the "Cancel" button
the dialog will be closed automatically.
since: org.netbeans.modules.projectuiapi/1 1.26 Parameters: categories - array of descriptions of categories to be shown in thedialog. Note that categories have the valid property. If any of the given categories is not valid cusomizer'sOK button will be disabled until all categories become validagain. Parameters: componentProvider - creator of GUI components for categories in thecustomizer dialog. Parameters: preselectedCategory - name of one of the supplied categories or null.Category with given name will be selected. If null or if the category of given name does not exist the first category willbe selected. Parameters: okOptionListener - listener which will be notified when the user pressesthe OK button. Parameters: storeListener - listener which will be notified when the user presses OK button.Listener will be executed after okOptionListener outside of AWT EventQueue.Usually to be used to save modified files on disk. Parameters: helpCtx - Help context for the dialog, which will be used when thepanels in the customizer do not specify their own help context. standard project customizer dialog. |
createCustomizerDialog | public static Dialog createCustomizerDialog(String folderPath, Lookup context, String preselectedCategory, ActionListener okOptionListener, HelpCtx helpCtx)(Code) | | Creates standard customizer dialog that can be used for implementation of
org.netbeans.spi.project.ui.CustomizerProvider based on content of a folder in Layers.
Use this method when you want to allow composition and 3rd party additions to your customizer UI.
You don't need to call pack() method on the dialog. The resulting dialog will
be non-modal.
Call show() on the dialog to make it visible. The dialog
will be closed automatically after click on "OK" or "Cancel" button.
since: org.netbeans.modules.projectuiapi/1 1.15 Parameters: folderPath - the path in the System Filesystem that is used as root for panel composition.The content of the folder is assummed to be org.netbeans.spi.project.ui.support.ProjectCustomizer.CompositeCategoryProvider instances Parameters: context - the context for the panels, up to the project type what the context shall be, for example org.netbeans.api.project.Project instance Parameters: preselectedCategory - name of one of the supplied categories or null.Category with given name will be selected. If null or if the category of given name does not exist the first category willbe selected. Parameters: okOptionListener - listener which will be notified when the user pressesthe OK button. Parameters: helpCtx - Help context for the dialog, which will be used when thepanels in the customizer do not specify their own help context. standard project customizer dialog. |
createCustomizerDialog | public static Dialog createCustomizerDialog(String folderPath, Lookup context, String preselectedCategory, ActionListener okOptionListener, ActionListener storeListener, HelpCtx helpCtx)(Code) | | Creates standard customizer dialog that can be used for implementation of
org.netbeans.spi.project.ui.CustomizerProvider based on content of a folder in Layers.
Use this method when you want to allow composition and 3rd party additions to your customizer UI.
This version runs processing of the customizer data partially off AWT Event Queue.
You don't need to call pack() method on the dialog. The resulting dialog will
be non-modal.
Call show() on the dialog to make it visible. If you want the dialog to be
closed after user presses the "OK" button you have to call hide() and dispose() on it.
(Usually in the actionPerformed(...) method of the listener
you provided as a parameter. In case of the click on the "Cancel" button
the dialog will be closed automatically.
since: org.netbeans.modules.projectuiapi/1 1.26 Parameters: folderPath - the path in the System Filesystem that is used as root for panel composition.The content of the folder is assummed to be org.netbeans.spi.project.ui.support.ProjectCustomizer.CompositeCategoryProvider instances Parameters: context - the context for the panels, up to the project type what the context shall be, for example org.netbeans.api.project.Project instance Parameters: preselectedCategory - name of one of the supplied categories or null.Category with given name will be selected. If null or if the category of given name does not exist the first category willbe selected. Parameters: okOptionListener - listener which will be notified when the user pressesthe OK button. Parameters: storeListener - listener which will be notified when the user presses OK button.Listener will be executed after okOptionListener outside of AWT EventQueue.Usually to be used to save modified files on disk Parameters: helpCtx - Help context for the dialog, which will be used when thepanels in the customizer do not specify their own help context. standard project customizer dialog. |
|
|