Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.preference.PreferenceDialog
hdf.view.dialog.UserOptionsDialog
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IPageChangeProvider,org.eclipse.jface.preference.IPreferencePageContainer,org.eclipse.jface.window.IShellProvider
public class UserOptionsDialog extends org.eclipse.jface.preference.PreferenceDialog
UserOptionsDialog displays components for choosing user options.
- Version:
- 2.4 2/13/2016
- Author:
- Jordan T. Henderson
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler -
Field Summary
Fields Modifier and Type Field Description protected StringrootDirThe setting of the root directoryprotected StringworkDirThe setting of the working directoryFields inherited from class org.eclipse.jface.preference.PreferenceDialog
FAILED, PREF_DLG_IMG_TITLE_ERROR, PREF_DLG_TITLE_IMGFields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSISFields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred -
Constructor Summary
Constructors Constructor Description UserOptionsDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.preference.PreferenceManager mgr, String viewRoot)UserOptionsDialog displays components for choosing user options. -
Method Summary
Modifier and Type Method Description voidcreate()Create the UserOptions Dialog.Methods inherited from class org.eclipse.jface.preference.PreferenceDialog
addListeners, addPageChangedListener, buttonPressed, cancelPressed, close, configureShell, constrainShellSize, createButtonsForButtonBar, createContents, createDialogArea, createPage, createPageContainer, createPageControl, createSash, createTitleArea, createTreeAreaContents, createTreeViewer, findNodeMatching, firePageChanged, getCurrentPage, getLastRightWidth, getPage, getPageContainer, getPageLayout, getPreferenceManager, getPreferenceStore, getSelectedNodePreference, getSelectedPage, getSingleSelection, getTreeViewer, handleSave, handleShellCloseEvent, helpPressed, isCurrentPageValid, isResizable, layoutTreeAreaControl, okPressed, removePageChangedListener, selectSavedItem, setCurrentPage, setErrorMessage, setMessage, setMessage, setMinimumPageSize, setMinimumPageSize, setPageContainer, setPreferenceStore, setSelectedNode, setSelectedNodePreference, setTreeViewer, showPage, update, updateButtons, updateMessage, updateTitle, updateTreeFontMethods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableMethods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextMethods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
rootDir
The setting of the root directory -
workDir
The setting of the working directory
-
-
Constructor Details
-
UserOptionsDialog
public UserOptionsDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.preference.PreferenceManager mgr, String viewRoot)UserOptionsDialog displays components for choosing user options.- Parameters:
parent- the dialog parent shellmgr- the dialog managerviewRoot- the root dir for the app
-
-
Method Details
-
create
Create the UserOptions Dialog.- Overrides:
createin classorg.eclipse.jface.dialogs.Dialog
-