|
org.netbeans.modules.options.api/1 1.5 | |||||||||
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.
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 categoryId)
Open the options dialog with some category pre-selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OptionsDisplayer getDefault()
OptionsDisplayer
public boolean open()
public boolean open(String categoryId)
categoryId
- ID representing required category which is registration name
(e.g. "FooOptionsPanelID" for following registration:
<folder name="OptionsDialog"> <file name="FooOptionsPanelID.instance"> <attr name="instanceClass" stringvalue="org.foo.FooOptionsPanel"/> </file> </folder>
categoryId
passed as a parameter does not correspond to any
of registered categories then false is returned and options dialog is not opened
at all (e.g. in case that module providing such category is not installed or enabled).
|
org.netbeans.modules.options.api/1 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |