public interface IPreference extends ExtensionBuilder
AbstractPreferencePage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESS_PREFERENCES_PAGE_AUTHORIZATION |
Modifier and Type | Method and Description |
---|---|
javax.swing.ImageIcon |
getIcon()
Returns the image that will be shown in the header of this preferences page
|
java.lang.String |
getID()
Returns an identifier for this preferences page that is used to reference
it inside the Map.
|
javax.swing.JPanel |
getPanel()
The page must be contained in a JPanel and whatever to be shown will be returned
by this function.
|
java.lang.String |
getParentID()
Returns the ID of the parent of this layer.
|
java.lang.String |
getTitle()
Returns an string containing the title of the preferences page.
|
void |
initializeDefaults()
Restores the default values of this preferences page's settings.
|
void |
initializeValues()
Initializes the components of this preferences page to the last settings.
|
boolean |
isValueChanged()
Tells if this preference page has changed any value
(used for storing values when necessary)
|
void |
saveValues()
Saves the new settings
|
create, create, create
static final java.lang.String ACCESS_PREFERENCES_PAGE_AUTHORIZATION
java.lang.String getID()
this.getClass().getName();
java.lang.String getTitle()
javax.swing.JPanel getPanel()
The content is added, removed and repainted automatically upon the events received from
the mouse. So, you only have to care about the content and the functionality to make it
java.lang.String getParentID()
void initializeValues()
void saveValues() throws StoreException
StoreException
void initializeDefaults()
javax.swing.ImageIcon getIcon()
boolean isValueChanged()