metricsOverlay.preferences
Class MetricsPreferencePage

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.MetricsPreferencePage
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 MetricsPreferencePage
extends org.eclipse.jface.preference.FieldEditorPreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage

This provides the code in-front for the metrics preference page.

Version:
26/8/2009
Author:
Matthew Harward

Field Summary
static java.lang.String MET_COMPEDIT
           
static java.lang.String MET_INTMAX
           
static java.lang.String MET_INTMIN
           
static java.lang.String MET_NAME
           
static java.lang.String MET_ONEDIT
           
static java.lang.String MET_REALMAX
           
static java.lang.String MET_REALMIN
           
 
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
MetricsPreferencePage()
           
 
Method Summary
 void createFieldEditors()
          Creates the field editors.
 CompositeRangeEditor getCompositeRangeEditor()
           
 MetricsPrefController getController()
           
 org.eclipse.swt.widgets.Combo getDerivedMetSelector()
           
 java.util.Set<org.eclipse.jface.preference.FieldEditor> getFieldEditors()
           
 org.eclipse.swt.widgets.Combo getMetSelector()
           
 org.eclipse.swt.widgets.Combo getRangeSelector()
           
 void init(org.eclipse.ui.IWorkbench workbench)
           
 void reset()
           
 void setSpeciality(java.lang.String string)
           
 
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

MET_NAME

public static final java.lang.String MET_NAME
See Also:
Constant Field Values

MET_INTMAX

public static final java.lang.String MET_INTMAX
See Also:
Constant Field Values

MET_INTMIN

public static final java.lang.String MET_INTMIN
See Also:
Constant Field Values

MET_REALMIN

public static final java.lang.String MET_REALMIN
See Also:
Constant Field Values

MET_REALMAX

public static final java.lang.String MET_REALMAX
See Also:
Constant Field Values

MET_COMPEDIT

public static final java.lang.String MET_COMPEDIT
See Also:
Constant Field Values

MET_ONEDIT

public static final java.lang.String MET_ONEDIT
See Also:
Constant Field Values
Constructor Detail

MetricsPreferencePage

public MetricsPreferencePage()
Method Detail

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

setSpeciality

public void setSpeciality(java.lang.String string)

init

public void init(org.eclipse.ui.IWorkbench workbench)
Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage

getFieldEditors

public java.util.Set<org.eclipse.jface.preference.FieldEditor> getFieldEditors()

getController

public MetricsPrefController getController()

getCompositeRangeEditor

public CompositeRangeEditor getCompositeRangeEditor()

getMetSelector

public org.eclipse.swt.widgets.Combo getMetSelector()

getDerivedMetSelector

public org.eclipse.swt.widgets.Combo getDerivedMetSelector()

getRangeSelector

public org.eclipse.swt.widgets.Combo getRangeSelector()

reset

public void reset()