This class represents a preference page that is contributed to the Preferences dialog. More...
Public Member Functions | |
ViewerPreferencePage () | |
void | createFieldEditors () |
Creates the field editors. | |
void | init (IWorkbench workbench) |
boolean | performOk () |
Protected Member Functions | |
void | performApply () |
Private Attributes | |
IWorkbenchWindow | objWindow |
This class represents a preference page that is contributed to the Preferences dialog.
By subclassing <samp>FieldEditorPreferencePage</samp>, we can use the field support built into JFace that allows us to create a page that is small and knows how to save, restore and apply itself.
This page is used to modify preferences only. They are stored in the preference store that belongs to the main plug-in class. That way, preferences can be accessed directly via the preference store.
Definition at line 30 of file ViewerPreferencePage.java.
edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.ViewerPreferencePage | ( | ) |
Definition at line 38 of file ViewerPreferencePage.java.
void edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.createFieldEditors | ( | ) |
Creates the field editors.
Field editors are abstractions of the common GUI blocks needed to manipulate various types of preferences. Each field editor knows how to save and restore itself.
Definition at line 49 of file ViewerPreferencePage.java.
void edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.init | ( | IWorkbench | workbench | ) |
Definition at line 100 of file ViewerPreferencePage.java.
References edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.objWindow.
void edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.performApply | ( | ) | [protected] |
Definition at line 106 of file ViewerPreferencePage.java.
References edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.performOk().
boolean edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.performOk | ( | ) |
Definition at line 112 of file ViewerPreferencePage.java.
References edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.objWindow.
Referenced by edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.performApply().
IWorkbenchWindow edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.objWindow [private] |
Definition at line 34 of file ViewerPreferencePage.java.
Referenced by edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.init(), and edu.rice.cs.hpc.viewer.util.ViewerPreferencePage.performOk().