de.tu_berlin.cs.tfs.muvitorkit.ui.utils.test
Class PropertiesDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.preference.PreferenceDialog
de.tu_berlin.cs.tfs.muvitorkit.ui.utils.test.PropertiesDialog
- All Implemented Interfaces:
- IPageChangeProvider, IPreferencePageContainer, IShellProvider
public class PropertiesDialog
- extends PreferenceDialog
A Preference Dialog which has a Close button in place of OK/Cancel buttons,
and titled "Properties" in place of "Preferences"
- Rating

Field Summary |
static int |
CLOSE
return code constant (value 2) indicating that the window was canceled. |
Fields 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, ELLIPSIS |
Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
Methods inherited from class org.eclipse.jface.preference.PreferenceDialog |
addListeners, addPageChangedListener, cancelPressed, close, configureShell, constrainShellSize, createContents, 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, updateMessage, updateTitle, updateTreeFont |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
Methods 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, setWindowManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLOSE
public static final int CLOSE
- return code constant (value 2) indicating that the window was canceled.
- See Also:
- Constant Field Values
PropertiesDialog
public PropertiesDialog(Shell parentShell,
PreferenceManager manager)
- PropertiesDialog constructor
- Parameters:
parentShell
- the parent shellmanager
- the preference manager
updateButtons
public void updateButtons()
- Specified by:
updateButtons
in interface IPreferencePageContainer
- Overrides:
updateButtons
in class PreferenceDialog
createButtonsForButtonBar
protected void createButtonsForButtonBar(Composite parent)
- Overrides:
createButtonsForButtonBar
in class PreferenceDialog
createDialogArea
protected Control createDialogArea(Composite parent)
- Overrides:
createDialogArea
in class PreferenceDialog
buttonPressed
protected void buttonPressed(int buttonId)
- Overrides:
buttonPressed
in class PreferenceDialog