public class HistoryTextDialog extends InputDialog
Window.IExceptionHandler
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
CANCEL, OK, resizeHasOccurred
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, setErrorMessage
applyDialogFont, 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, shortenText
canHandleShellCloseEvent, 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, setWindowManager
public HistoryText getHistoryText()
public String getValue()
getValue
in class InputDialog
protected Control createDialogArea(Composite parent)
createDialogArea
in class InputDialog
protected void buttonPressed(int buttonId)
buttonPressed
in class InputDialog
protected void createButtonsForButtonBar(Composite parent)
createButtonsForButtonBar
in class InputDialog
protected void validateInput()
validateInput
in class InputDialog
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.