Package com.iizigo.term.pref
Class SessionsPreferencePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
com.iizigo.term.pref.SessionsPreferencePage
- All Implemented Interfaces:
IDialogPage
,IMessageProvider
,IPreferencePage
,IWorkbenchPreferencePage
The Sessions page in the Preferences for the Terminal.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionprotected Control
createContents
(Composite parent) Creates the controls for the page.void
init
(IWorkbench workbench) Initializes the page.protected void
Applies the preferences changes.boolean
Cancels the preferences page.protected void
Sets the default preferences.boolean
Save the color preference to the preference store.Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, 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.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, setContainer, setSize
Constructor Details
SessionsPreferencePage
public SessionsPreferencePage()Constructor.
Method Details
init
Initializes the page.- Specified by:
init
in interfaceIWorkbenchPreferencePage
createContents
Creates the controls for the page.- Specified by:
createContents
in classPreferencePage
performDefaults
protected void performDefaults()Sets the default preferences.- Overrides:
performDefaults
in classPreferencePage
performApply
protected void performApply()Applies the preferences changes.- Overrides:
performApply
in classPreferencePage
performOk
public boolean performOk()Save the color preference to the preference store.- Specified by:
performOk
in interfaceIPreferencePage
- Overrides:
performOk
in classPreferencePage
performCancel
public boolean performCancel()Cancels the preferences page.- Specified by:
performCancel
in interfaceIPreferencePage
- Overrides:
performCancel
in classPreferencePage