de.cau.cs.kieler.sim.kiem.config.preferences
Class PropertiesPreferencePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by de.cau.cs.kieler.sim.kiem.config.preferences.PropertiesPreferencePage
All Implemented Interfaces:
EventListener, IDialogPage, IMessageProvider, IPreferencePage, FocusListener, org.eclipse.swt.internal.SWTEventListener, IWorkbenchPreferencePage

public class PropertiesPreferencePage
extends PreferencePage
implements IWorkbenchPreferencePage, FocusListener

Preference page for the configuration of user defined properties.

Modified version of the LayoutPreferencePage in de.cau.cs.kieler.kiml.ui by msp.

Rating proposed yellow
(2010-01-27)

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
PropertiesPreferencePage()
          Creates the configuration preference page.
 
Method Summary
protected  Control createContents(Composite parent)
          
 void focusGained(FocusEvent e)
          
 void focusLost(FocusEvent e)
          
 void init(IWorkbench workbench)
          
 void performApply()
          
 boolean performOk()
          
 
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, 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

PropertiesPreferencePage

public PropertiesPreferencePage()
Creates the configuration preference page.

Method Detail

createContents

protected Control createContents(Composite parent)

Specified by:
createContents in class PreferencePage

init

public void init(IWorkbench workbench)

Specified by:
init in interface IWorkbenchPreferencePage

focusGained

public void focusGained(FocusEvent e)

Specified by:
focusGained in interface FocusListener

focusLost

public void focusLost(FocusEvent e)

Specified by:
focusLost in interface FocusListener

performOk

public boolean performOk()

Specified by:
performOk in interface IPreferencePage
Overrides:
performOk in class PreferencePage

performApply

public void performApply()

Overrides:
performApply in class PreferencePage