java.lang.Object
javax.ide.property.PropertyPage
- All Implemented Interfaces:
- javax.ide.view.Viewable
- public abstract class PropertyPage
- extends java.lang.Object
- implements javax.ide.view.Viewable
The PropertyPage interface lets client introduce new property
pages for setting IDE and project preferences.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyPage
public PropertyPage()
getGUI
public abstract javax.ide.view.GUIPanel getGUI()
- Get the root graphical user interface component. This component
will be hosted by the IDE.
onEntry
public void onEntry(java.util.prefs.Preferences preferences,
javax.ide.command.Context context)
- Method called when this page is selected by the user. Implementors
are responsible for initializing the GUI with the data provided by
the
preferences object.
onExit
public void onExit(java.util.prefs.Preferences preferences,
javax.ide.command.Context context)
throws InvalidPropertyException
- Method called when users leave this page for another page
and when they press the dialog's OK button. Implementors
are responsible for getting the information entered by the
user and updating the
preferences object.
getKeys
public java.lang.String[] getKeys()
- Get the property keys this property page uses in the preferences object.
This method is provided so that IDEs can potentially perform optimizations
(e.g. avoid modifying a physical project file until real changes are made)