Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
hdf.view.dialog.UserOptionsDefaultPage
hdf.view.dialog.UserOptionsGeneralPage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage,- org.eclipse.jface.dialogs.IMessageProvider,- org.eclipse.jface.preference.IPreferencePage
public class UserOptionsGeneralPage extends UserOptionsDefaultPage
UserOptionsGeneralPage.java - Configuration page for general application settings.
- 
Field SummaryFields inherited from class hdf.view.dialog.UserOptionsDefaultPagecurFont, rootDir, shellFields inherited from interface org.eclipse.jface.dialogs.IMessageProviderERROR, INFORMATION, NONE, WARNING
- 
Constructor SummaryConstructors Constructor Description UserOptionsGeneralPage()
- 
Method SummaryModifier and Type Method Description protected org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent)Creates and returns the SWT control for the customized body of this preference page under the given parent composite.booleanisFontChanged()booleanisUserGuideChanged()booleanisWorkDirChanged()protected voidload()Loads all stored values in theFieldEditors.voidperformDefaults()Performs special processing when this page's Defaults button has been pressed.booleanperformOk()Notifies that the OK button of this page's container has been pressed.Methods inherited from class hdf.view.dialog.UserOptionsDefaultPagecreateControlMethods inherited from class org.eclipse.jface.preference.PreferencePageapplyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButtonMethods inherited from class org.eclipse.jface.dialogs.DialogPageconvertHeightInCharsToPixels, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPagedispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, setDescription, setImageDescriptor, setVisible
- 
Constructor Details- 
UserOptionsGeneralPagepublic UserOptionsGeneralPage()
 
- 
- 
Method Details- 
performDefaultsPerforms special processing when this page's Defaults button has been pressed.- Overrides:
- performDefaultsin class- org.eclipse.jface.preference.PreferencePage
 
- 
performOkNotifies that the OK button of this page's container has been pressed.- Specified by:
- performOkin interface- org.eclipse.jface.preference.IPreferencePage
- Overrides:
- performOkin class- org.eclipse.jface.preference.PreferencePage
- Returns:
- falseto abort the container's OK processing and- trueto allow the OK to happen
 
- 
isFontChanged
- 
isUserGuideChanged
- 
isWorkDirChanged
- 
loadLoads all stored values in theFieldEditors.
- 
createContentsCreates and returns the SWT control for the customized body of this preference page under the given parent composite.- Specified by:
- createContentsin class- org.eclipse.jface.preference.PreferencePage
- Parameters:
- parent- the parent composite
- Returns:
- the new control
 
 
-