@API(type=EXTENDABLE, src=PUBLIC) public abstract class OptionPagePluginExtension extends java.lang.Object implements PluginExtension
Constructor and Description |
---|
OptionPagePluginExtension() |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(PluginWorkspace pluginWorkspace)
This method is called when "Apply" or "OK" button are pressed in from the GUI
option page.
|
java.lang.String |
getKey()
Retrieves the option page key.
|
abstract java.lang.String |
getTitle()
Retrieves the option page title.
|
abstract javax.swing.JComponent |
init(PluginWorkspace pluginWorkspace)
Initializes the GUI for the option page and loads the stored option values.
|
abstract void |
restoreDefaults()
This method is called when "Restore defaults" button is pressed from the GUI
option page.
|
public abstract void apply(PluginWorkspace pluginWorkspace)
pluginWorkspace
- Access the entire workspace of Oxygen. It can be used to
retrieve the OptionsStorage
and perform options save operations on it.public abstract void restoreDefaults()
public abstract java.lang.String getTitle()
public java.lang.String getKey()
PluginWorkspace.showPreferencesPages(String[], String, boolean)
,
which is used for displaying the preferences dialog with certain pages in the table of contents.public abstract javax.swing.JComponent init(PluginWorkspace pluginWorkspace)
pluginWorkspace
- Access the entire workspace of Oxygen. It can be used to
retrieve the OptionsStorage
and perform options save/load operations it.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.