Package com.iizigo
Class RootPreferencePage
- java.lang.Object
- org.eclipse.jface.dialogs.DialogPage
- org.eclipse.jface.preference.PreferencePage
- com.iizigo.RootPreferencePage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.preference.IPreferencePage,org.eclipse.ui.IWorkbenchPreferencePage
public class RootPreferencePage extends org.eclipse.jface.preference.PreferencePage implements org.eclipse.ui.IWorkbenchPreferencePageThe root page in the iizi preferences displays the license system information.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description RootPreferencePage()Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent)Creates the controls for the page.voidinit(org.eclipse.ui.IWorkbench workbench)Initializes the page.booleanperformCancel()Cancels the preferences page.protected voidperformDefaults()Sets the default preferences.booleanperformOk()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, performApply, 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
Method Detail
init
public void init(org.eclipse.ui.IWorkbench workbench)
Initializes the page.- Specified by:
initin interfaceorg.eclipse.ui.IWorkbenchPreferencePage
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Creates the controls for the page.- Specified by:
createContentsin classorg.eclipse.jface.preference.PreferencePage- Parameters:
parent- The parent container.
performDefaults
protected void performDefaults()
Sets the default preferences.- Overrides:
performDefaultsin classorg.eclipse.jface.preference.PreferencePage
performOk
public boolean performOk()
Save the color preference to the preference store.- Specified by:
performOkin interfaceorg.eclipse.jface.preference.IPreferencePage- Overrides:
performOkin classorg.eclipse.jface.preference.PreferencePage
performCancel
public boolean performCancel()
Cancels the preferences page.- Specified by:
performCancelin interfaceorg.eclipse.jface.preference.IPreferencePage- Overrides:
performCancelin classorg.eclipse.jface.preference.PreferencePage