metricsOverlay.preferences
Class AugmentationPreferencePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by org.eclipse.jface.preference.FieldEditorPreferencePage
              extended by 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

Field Summary
static java.lang.String AUG_ANNOTATE
           
static java.lang.String AUG_COLOR_EDIT
           
static java.lang.String AUG_DISCRETE
           
static java.lang.String AUG_IMPORT
           
static java.lang.String AUG_NAME
           
static java.lang.String AUG_TYPE
           
 
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
FLAT, GRID
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
AugmentationPreferencePage()
           
 
Method Summary
 void createFieldEditors()
          Creates the field editors.
 org.eclipse.swt.widgets.Combo getAugSelector()
           
 ColorListEditor getColorEditor()
           
 AugmentationPrefController getController()
           
 org.eclipse.jface.preference.FieldEditor getFieldEditor(java.lang.String editor)
           
 java.util.Set<org.eclipse.jface.preference.FieldEditor> getFieldEditors()
           
 org.eclipse.swt.widgets.Combo getPositionSelector()
           
 org.eclipse.swt.widgets.Combo getShapeDirSelector()
           
 org.eclipse.swt.widgets.Combo getShapeTypeSelector()
           
 org.eclipse.swt.widgets.Combo getTypeSelector()
           
 org.eclipse.swt.widgets.Combo getUnderlineSelector()
           
 void init(org.eclipse.ui.IWorkbench workbench)
           
 void reset()
           
 
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
 

Field Detail

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
Constructor Detail

AugmentationPreferencePage

public AugmentationPreferencePage()
Method Detail

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()