Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
hdf.view.dialog.UserOptionsDefaultPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.preference.IPreferencePage
- Direct Known Subclasses:
UserOptionsGeneralPage,UserOptionsHDFPage,UserOptionsViewModulesPage
UserOptionsDefaultPage extends PreferencePage
to display the default button
images for the ok, cancel, apply and defaults button. All configuration pages
that need finer control on the created editor Controls should
inherit this class.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.swt.graphics.FontThe setting of the current fontprotected StringThe setting of the root directoryprotected org.eclipse.swt.widgets.ShellThe reference to the visual shellFields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionUserOptionsDefaultPagedefault constructor.UserOptionsDefaultPage(String title) Creates a new abstractUserOptionsDefaultPagewith the given title.UserOptionsDefaultPage(String title, org.eclipse.jface.resource.ImageDescriptor image) Creates a new abstractUserOptionsDefaultPagewith the given title and image. -
Method Summary
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createContents, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performDefaults, performHelp, performOk, 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
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, setDescription, setImageDescriptor, setVisible
-
Field Details
-
shell
The reference to the visual shell -
curFont
The setting of the current font -
rootDir
-
-
Constructor Details
-
UserOptionsDefaultPage
public UserOptionsDefaultPage()UserOptionsDefaultPagedefault constructor. -
UserOptionsDefaultPage
Creates a new abstractUserOptionsDefaultPagewith the given title.- Parameters:
title- the page title
-
UserOptionsDefaultPage
Creates a new abstractUserOptionsDefaultPagewith the given title and image.- Parameters:
title- the page titleimage- the image for this page, ornullif none
-
-
Method Details
-
createControl
- Specified by:
createControlin interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
createControlin classorg.eclipse.jface.preference.PreferencePage
-