Klasse DialogComboDoubleSelection

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.deidentifier.arx.gui.view.impl.menu.DialogComboDoubleSelection
Alle implementierten Schnittstellen:
org.eclipse.jface.window.IShellProvider

public class DialogComboDoubleSelection 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, ELLIPSIS

    Von Klasse geerbte Felder org.eclipse.jface.window.Window

    CANCEL, OK, resizeHasOccurred
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    DialogComboDoubleSelection(org.eclipse.swt.widgets.Shell parentShell, String dialogTitle, String dialogMessage, String[] choices1, String initialValue1, String[] choices2, String initialValue2, IValidator<String[]> validator)
    Creates a new instance
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected void
    buttonPressed(int buttonId)
     
    protected void
    configureShell(org.eclipse.swt.widgets.Shell shell)
     
    protected void
    createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
     
    protected org.eclipse.swt.widgets.Control
    createDialogArea(org.eclipse.swt.widgets.Composite parent)
     
    protected org.eclipse.swt.events.ShellListener
     
    Returns the string typed into this input dialog.
    Returns the string typed into this input dialog.
    void
    setErrorMessage(String errorMessage)
    Sets or clears the error message.
    protected void
    Validates 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, shortenText

    Von 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

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • DialogComboDoubleSelection

      public DialogComboDoubleSelection(org.eclipse.swt.widgets.Shell parentShell, String dialogTitle, String dialogMessage, String[] choices1, String initialValue1, String[] choices2, String initialValue2, IValidator<String[]> validator)
      Creates a new instance
      Parameter:
      parentShell -
      dialogTitle -
      dialogMessage -
      choices1 -
      initialValue1 -
      choices2 -
      initialValue2 -
      validator -
  • Methodendetails

    • getValue1

      public String getValue1()
      Returns the string typed into this input dialog.
      Gibt zurück:
      the input string
    • getValue2

      public String getValue2()
      Returns the string typed into this input dialog.
      Gibt zurück:
      the input string
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      Sets or clears the error message. If not null, the OK button is disabled.
      Parameter:
      errorMessage - the error message, or null to clear
      Seit:
      3.0
    • buttonPressed

      protected void buttonPressed(int buttonId)
      Setzt außer Kraft:
      buttonPressed in Klasse org.eclipse.jface.dialogs.Dialog
    • configureShell

      protected void configureShell(org.eclipse.swt.widgets.Shell shell)
      Setzt außer Kraft:
      configureShell in Klasse org.eclipse.jface.window.Window
    • createButtonsForButtonBar

      protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
      Setzt außer Kraft:
      createButtonsForButtonBar in Klasse org.eclipse.jface.dialogs.Dialog
    • createDialogArea

      protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
      Setzt außer Kraft:
      createDialogArea in Klasse org.eclipse.jface.dialogs.Dialog
    • getShellListener

      protected org.eclipse.swt.events.ShellListener getShellListener()
      Setzt außer Kraft:
      getShellListener in Klasse org.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.