public class DTFJPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage
FieldEditorPreferencePage
, 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.
FLAT, GRID
ERROR, INFORMATION, NONE, WARNING
Constructor and Description |
---|
DTFJPreferencePage() |
Modifier and Type | Method and Description |
---|---|
void |
createFieldEditors()
Creates the field editors.
|
void |
init(IWorkbench workbench) |
dispose, performOk, propertyChange, setVisible
applyData, computeSize, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString
getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
computeSize, isValid, okToLeave, performCancel, performOk, setContainer, setSize
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
public void createFieldEditors()
createFieldEditors
in class FieldEditorPreferencePage
public void init(IWorkbench workbench)
init
in interface IWorkbenchPreferencePage