edu.colby.cs.JeSS.preferences
Class JeSSPreferencePage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended byorg.eclipse.jface.preference.FieldEditorPreferencePage
              extended byedu.colby.cs.JeSS.preferences.JeSSPreferencePage
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 JeSSPreferencePage
extends org.eclipse.jface.preference.FieldEditorPreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage

This class represents a preference page that is contributed to the Preferences dialog. The built in visitors are referenced in this preference page. They are represented as a boolean checkbox. There is also the option for selecting the directory that JeSS searches in to discover user defiend visitors. The default for this directory is the "plugins" folder in the edu.colby.cs.JeSS plugin


Field Summary
static java.lang.String EXCEPTIONS
           
static java.lang.String EXTERNAL_VISITORS
           
static java.lang.String FINAL
           
static java.lang.String INNER_CLASS
           
static java.lang.String MISS_MODIFIER
           
static java.lang.String PLUGIN_DIR
           
static java.lang.String PROTECT_MODIFIER
           
static java.lang.String PUBLIC_FINAL_CLASS
           
static java.lang.String PUBLIC_MODIFIER
           
 
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACING
 
Fields inherited from class org.eclipse.jface.preference.PreferencePage
 
Fields inherited from class org.eclipse.jface.dialogs.DialogPage
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
JeSSPreferencePage()
           
 
Method Summary
 void createFieldEditors()
          Creates the field editors.
 void init(org.eclipse.ui.IWorkbench workbench)
          Eclipse Generated - does nothing
private  void initializeDefaults()
          Set the default values of the preferences for the default scan.
 
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
addField, adjustGridLayout, applyFont, checkState, createContents, dispose, getFieldEditorParent, initialize, performDefaults, performOk, propertyChange, setVisible
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

INNER_CLASS

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

FINAL

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

EXCEPTIONS

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

MISS_MODIFIER

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

PROTECT_MODIFIER

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

PUBLIC_MODIFIER

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

EXTERNAL_VISITORS

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

PUBLIC_FINAL_CLASS

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

PLUGIN_DIR

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

JeSSPreferencePage

public JeSSPreferencePage()
Method Detail

initializeDefaults

private void initializeDefaults()
Set the default values of the preferences for the default scan.


createFieldEditors

public void createFieldEditors()
Creates the field editors. Set up the boolean editors for the built in visitors and a directory selector to specify the source of the external editors


init

public void init(org.eclipse.ui.IWorkbench workbench)
Eclipse Generated - does nothing

Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage