Package com.iizigo.term.pref
Class HotspotsPreferencePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
com.iizigo.term.pref.HotspotsPreferencePage
- All Implemented Interfaces:
IDialogPage,IMessageProvider,IPreferencePage,IWorkbenchPreferencePage
The Hotspots colors page in the Preferences for the Terminal screen.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNINGConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected ControlcreateContents(Composite parent) Creates the controls for the page.voidinit(IWorkbench workbench) Initializes the page.protected voidApplies the preferences changes.booleanCancels the preferences page.protected voidSets the default preferences.booleanSave 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, updateApplyButtonMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisibleMethods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, setContainer, setSize
Constructor Details
HotspotsPreferencePage
public HotspotsPreferencePage()Constructor.
Method Details
init
Initializes the page.- Specified by:
initin interfaceIWorkbenchPreferencePage
createContents
Creates the controls for the page.- Specified by:
createContentsin classPreferencePage
performDefaults
protected void performDefaults()Sets the default preferences.- Overrides:
performDefaultsin classPreferencePage
performApply
protected void performApply()Applies the preferences changes.- Overrides:
performApplyin classPreferencePage
performOk
public boolean performOk()Save the color preference to the preference store.- Specified by:
performOkin interfaceIPreferencePage- Overrides:
performOkin classPreferencePage
performCancel
public boolean performCancel()Cancels the preferences page.- Specified by:
performCancelin interfaceIPreferencePage- Overrides:
performCancelin classPreferencePage