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, ELLIPSISCANCEL, OK, resizeHasOccurred| Constructor and Description |
|---|
HistoryTextDialog(Shell parentShell,
java.lang.String dialogTitle,
java.lang.String dialogMessage,
IHistory<java.lang.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<java.lang.String> |
getHistory() |
HistoryText |
getHistoryText() |
java.lang.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 HistoryTextDialog(Shell parentShell, java.lang.String dialogTitle, java.lang.String dialogMessage, IHistory<java.lang.String> history, IInputValidator validator)
public IHistory<java.lang.String> getHistory()
public HistoryText getHistoryText()
public java.lang.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) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html