
public class HistoryTextDialog extends InputDialog
Window.IExceptionHandlerblockedHandler, 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 |
|---|
HistoryTextDialog(Shell parentShell,
String dialogTitle,
String dialogMessage,
IHistory<String> history,
IInputValidator validator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buttonPressed(int buttonId) |
protected void |
createButtonsForButtonBar(Composite parent) |
protected Control |
createDialogArea(Composite parent) |
IHistory<String> |
getHistory() |
HistoryText |
getHistoryText() |
String |
getValue() |
protected void |
validateInput() |
configureShell, getErrorMessageLabel, getInputTextStyle, getOkButton, getText, getValidator, setErrorMessageapplyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerpublic HistoryText getHistoryText()
public String getValue()
getValue in class InputDialogprotected Control createDialogArea(Composite parent)
createDialogArea in class InputDialogprotected void buttonPressed(int buttonId)
buttonPressed in class InputDialogprotected void createButtonsForButtonBar(Composite parent)
createButtonsForButtonBar in class InputDialogprotected void validateInput()
validateInput in class InputDialogCopyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.