|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreferencesUI
Singleton that allows you to add/remove pages from the preferences dialog and the startup wizard dialog.
Method Summary | |
---|---|
void |
registerPage(Plugin owner,
Page p)
Adds a page to the prefs dialog. |
void |
registerWizardPage(Plugin owner,
int order,
Page p)
Registers a page for the basic wizard interface. |
void |
unregisterPage(Plugin owner,
Page p)
Removes a page from the prefs dialog. |
void |
unregisterWizardPage(Page p)
Removes a page from the prefs dialog. |
Method Detail |
---|
void registerPage(Plugin owner, Page p)
p
- Page to addowner
- Plugin that owns pagevoid unregisterPage(Plugin owner, Page p)
p
- Page to removeowner
- Plugin that owns page
BugException
- if the page doesn't existvoid registerWizardPage(Plugin owner, int order, Page p)
owner
- Plugin that owns pageorder
- Integer indicating order of page. Lower numbers are first.
A gap should be left to allow insertion of other pages.p
- Page to addvoid unregisterWizardPage(Page p)
p
- Page to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |