Class HistoryTextDialog
- java.lang.Object
- 
- org.eclipse.jface.window.Window
- 
- org.eclipse.jface.dialogs.Dialog
- 
- org.eclipse.jface.dialogs.InputDialog
- 
- org.eclipse.net4j.util.ui.widgets.HistoryTextDialog
 
 
 
 
- 
- All Implemented Interfaces:
- IShellProvider
 
 public class HistoryTextDialog extends InputDialog TODO extend BaseDialog- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.jface.window.WindowWindow.IExceptionHandler
 
- 
 - 
Field Summary- 
Fields inherited from class org.eclipse.jface.dialogs.DialogblockedHandler, 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.WindowCANCEL, OK, resizeHasOccurred
 
- 
 - 
Constructor SummaryConstructors Constructor Description HistoryTextDialog(Shell parentShell, java.lang.String dialogTitle, java.lang.String dialogMessage, IHistory<java.lang.String> history, IInputValidator validator)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuttonPressed(int buttonId)protected voidcreateButtonsForButtonBar(Composite parent)protected ControlcreateDialogArea(Composite parent)IHistory<java.lang.String>getHistory()HistoryTextgetHistoryText()java.lang.StringgetValue()protected voidvalidateInput()- 
Methods inherited from class org.eclipse.jface.dialogs.InputDialogconfigureShell, getErrorMessageLabel, getInputTextStyle, getOkButton, getText, getValidator, setErrorMessage
 - 
Methods inherited from class org.eclipse.jface.dialogs.DialogapplyDialogFont, 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
 - 
Methods inherited from class org.eclipse.jface.window.WindowcanHandleShellCloseEvent, 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
 
- 
 
- 
- 
- 
Constructor Detail- 
HistoryTextDialogpublic HistoryTextDialog(Shell parentShell, java.lang.String dialogTitle, java.lang.String dialogMessage, IHistory<java.lang.String> history, IInputValidator validator) 
 
- 
 - 
Method Detail- 
getHistorypublic IHistory<java.lang.String> getHistory() 
 - 
getHistoryTextpublic HistoryText getHistoryText() 
 - 
getValuepublic java.lang.String getValue() - Overrides:
- getValuein class- InputDialog
 
 - 
createDialogAreaprotected Control createDialogArea(Composite parent) - Overrides:
- createDialogAreain class- InputDialog
 
 - 
buttonPressedprotected void buttonPressed(int buttonId) - Overrides:
- buttonPressedin class- InputDialog
 
 - 
createButtonsForButtonBarprotected void createButtonsForButtonBar(Composite parent) - Overrides:
- createButtonsForButtonBarin class- InputDialog
 
 - 
validateInputprotected void validateInput() - Overrides:
- validateInputin class- InputDialog
 
 
- 
 
-