metricsOverlay.preferences
Class AugmentationPreferencePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
metricsOverlay.preferences.AugmentationPreferencePage
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.IWorkbenchPreferencePage
public class AugmentationPreferencePage
- extends org.eclipse.jface.preference.FieldEditorPreferencePage
- implements org.eclipse.ui.IWorkbenchPreferencePage
This provides the code in-front for the augmentation
preference page.
- Version:
- 26/8/2009
- Author:
- Matthew Harward
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
FLAT, GRID |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
dispose, performOk, propertyChange, setVisible |
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyData, computeSize, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage |
computeSize, isValid, okToLeave, performCancel, performOk, setContainer, setSize |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
AUG_NAME
public static final java.lang.String AUG_NAME
- See Also:
- Constant Field Values
AUG_TYPE
public static final java.lang.String AUG_TYPE
- See Also:
- Constant Field Values
AUG_IMPORT
public static final java.lang.String AUG_IMPORT
- See Also:
- Constant Field Values
AUG_ANNOTATE
public static final java.lang.String AUG_ANNOTATE
- See Also:
- Constant Field Values
AUG_DISCRETE
public static final java.lang.String AUG_DISCRETE
- See Also:
- Constant Field Values
AUG_COLOR_EDIT
public static final java.lang.String AUG_COLOR_EDIT
- See Also:
- Constant Field Values
AugmentationPreferencePage
public AugmentationPreferencePage()
getFieldEditors
public java.util.Set<org.eclipse.jface.preference.FieldEditor> getFieldEditors()
getAugSelector
public org.eclipse.swt.widgets.Combo getAugSelector()
getTypeSelector
public org.eclipse.swt.widgets.Combo getTypeSelector()
getFieldEditor
public org.eclipse.jface.preference.FieldEditor getFieldEditor(java.lang.String editor)
createFieldEditors
public void 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.
- Specified by:
createFieldEditors
in class org.eclipse.jface.preference.FieldEditorPreferencePage
init
public void init(org.eclipse.ui.IWorkbench workbench)
- Specified by:
init
in interface org.eclipse.ui.IWorkbenchPreferencePage
getController
public AugmentationPrefController getController()
getUnderlineSelector
public org.eclipse.swt.widgets.Combo getUnderlineSelector()
getShapeDirSelector
public org.eclipse.swt.widgets.Combo getShapeDirSelector()
getShapeTypeSelector
public org.eclipse.swt.widgets.Combo getShapeTypeSelector()
getColorEditor
public ColorListEditor getColorEditor()
reset
public void reset()
getPositionSelector
public org.eclipse.swt.widgets.Combo getPositionSelector()