Klasse DialogComboSelection
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.deidentifier.arx.gui.view.impl.menu.DialogComboSelection
- Alle implementierten Schnittstellen:
org.eclipse.jface.window.IShellProvider
public class DialogComboSelection
extends org.eclipse.jface.dialogs.Dialog
A selection dialog for elements from a combo box.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler -
Feldübersicht
Von Klasse geerbte Felder org.eclipse.jface.dialogs.Dialog
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, ELLIPSISVon Klasse geerbte Felder org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDialogComboSelection(org.eclipse.swt.widgets.Shell parentShell, String dialogTitle, String dialogMessage, String[] choices, String initialValue, org.eclipse.jface.dialogs.IInputValidator validator) Creates a new instance -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidbuttonPressed(int buttonId) protected voidconfigureShell(org.eclipse.swt.widgets.Shell shell) protected voidcreateButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) protected org.eclipse.swt.widgets.ControlcreateDialogArea(org.eclipse.swt.widgets.Composite parent) protected org.eclipse.swt.events.ShellListenergetValue()Returns the string typed into this input dialog.voidsetErrorMessage(String errorMessage) Sets or clears the error message.protected voidValidates the input.Von Klasse geerbte Methoden org.eclipse.jface.dialogs.Dialog
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, shortenTextVon Klasse geerbte Methoden org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
Konstruktordetails
-
DialogComboSelection
public DialogComboSelection(org.eclipse.swt.widgets.Shell parentShell, String dialogTitle, String dialogMessage, String[] choices, String initialValue, org.eclipse.jface.dialogs.IInputValidator validator) Creates a new instance- Parameter:
parentShell-dialogTitle-dialogMessage-choices-initialValue-validator-
-
-
Methodendetails
-
getValue
Returns the string typed into this input dialog.- Gibt zurück:
- the input string
-
setErrorMessage
Sets or clears the error message. If notnull, the OK button is disabled.- Parameter:
errorMessage- the error message, ornullto clear- Seit:
- 3.0
-
buttonPressed
protected void buttonPressed(int buttonId) - Setzt außer Kraft:
buttonPressedin Klasseorg.eclipse.jface.dialogs.Dialog
-
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell shell) - Setzt außer Kraft:
configureShellin Klasseorg.eclipse.jface.window.Window
-
createButtonsForButtonBar
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) - Setzt außer Kraft:
createButtonsForButtonBarin Klasseorg.eclipse.jface.dialogs.Dialog
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) - Setzt außer Kraft:
createDialogAreain Klasseorg.eclipse.jface.dialogs.Dialog
-
getShellListener
protected org.eclipse.swt.events.ShellListener getShellListener()- Setzt außer Kraft:
getShellListenerin Klasseorg.eclipse.jface.window.Window
-
validateInput
protected void validateInput()Validates the input.The default implementation of this framework method delegates the request to the supplied input validator object; if it finds the input invalid, the error message is displayed in the dialog's message line. This hook method is called whenever the text changes in the input field.
-