|
org.netbeans.modules.options.api/1 1.12.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.options.OptionsDisplayer
public final class OptionsDisplayer
Permits Options Dialog to open the options dialog with some category pre-selected.
| Field Summary | |
|---|---|
static String |
ADVANCED
Registration name of Advanced category (aka Miscellaneous). |
| Method Summary | |
|---|---|
static OptionsDisplayer |
getDefault()
Get the default OptionsDisplayer |
boolean |
open()
Open the options dialog with no guarantee which category is pre-selected. |
boolean |
open(String path)
Open the options dialog with some category and subcategory pre-selected according to given path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ADVANCED
| Method Detail |
|---|
public static OptionsDisplayer getDefault()
OptionsDisplayer
public boolean open()
public boolean open(String path)
path - path of category and subcategories to be selected. Path is
composed from registration names divided by slash. E.g. "MyCategory" or
"MyCategory/Subcategory2" for the following registration:
<folder name="OptionsDialog">
<file name="MyCategory.instance">
<attr name="instanceClass" stringvalue="org.foo.MyCategory"/>
<attr name="position" intvalue="900"/>
</file>
<folder name="MyCategory">
<file name="SubCategory1.instance">
<attr name="instanceClass" stringvalue="org.foo.Subcategory1"/>
</file>
<file name="SubCategory2.instance">
<attr name="instanceClass" stringvalue="org.foo.Subcategory2"/>
</file>
</file>
</folder>
OptionsPanelController
to handle such situation.
|
org.netbeans.modules.options.api/1 1.12.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||