de.cau.cs.kieler.ksbase.viewmanagement.preferences
Class PostTransformationPreferencePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by de.cau.cs.kieler.ksbase.viewmanagement.preferences.PostTransformationPreferencePage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPreferencePage

public class PostTransformationPreferencePage
extends PreferencePage
implements IWorkbenchPreferencePage

Preference page that configures the post-transformation actions.

Rating proposed yellow
(2010-03-22)

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
PostTransformationPreferencePage()
          Default constructor.
 
Method Summary
protected  Control createContents(Composite parent)
          Creates the contents of the preference page.
 void init(IWorkbench workbench)
          Initializes the preference page.
 boolean performOk()
          Performs an 'OK' command.
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performDefaults, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
 
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, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

PostTransformationPreferencePage

public PostTransformationPreferencePage()
Default constructor.

Method Detail

createContents

protected Control createContents(Composite parent)
Creates the contents of the preference page.

Specified by:
createContents in class PreferencePage
Parameters:
parent - The parent of this preference page.
Returns:
The created controls.

init

public void init(IWorkbench workbench)
Initializes the preference page.

Specified by:
init in interface IWorkbenchPreferencePage
Parameters:
workbench - The workbench for this preference page

performOk

public boolean performOk()
Performs an 'OK' command. i.e. stores the settings.

Specified by:
performOk in interface IPreferencePage
Overrides:
performOk in class PreferencePage
Returns:
False if an error occurred while storing the settings.