public class PropertyDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGEblockedHandler, 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| Constructor and Description |
|---|
PropertyDialog(org.eclipse.swt.widgets.Shell parentShell)
Constructor for a new property.
|
PropertyDialog(org.eclipse.swt.widgets.Shell parentShell,
boolean keyEditable,
String key,
String value)
Constructor to edit an existing property.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelPressed() |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.graphics.Point |
getInitialSize() |
String |
getKey() |
String |
getValue() |
boolean |
isKeyEditable() |
createContents, getErrorMessage, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImagecloseTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, buttonPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerpublic PropertyDialog(org.eclipse.swt.widgets.Shell parentShell,
boolean keyEditable,
String key,
String value)
parentShell - the paren ShellkeyEditable - if the property is editablekey - the key of the propertyvalue - the current value of the propertypublic PropertyDialog(org.eclipse.swt.widgets.Shell parentShell)
parentShell - the parent Shellpublic final String getKey()
public final String getValue()
public final boolean isKeyEditable()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class org.eclipse.jface.dialogs.TitleAreaDialogprotected void cancelPressed()
cancelPressed in class org.eclipse.jface.dialogs.Dialogprotected org.eclipse.swt.graphics.Point getInitialSize()
getInitialSize in class org.eclipse.jface.dialogs.TitleAreaDialogCopyright © 2016. All rights reserved.