Class AddIndexKeyDialog

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
org.apache.uima.taeconfigurator.editors.ui.dialogs.AddIndexKeyDialog
All Implemented Interfaces:
StandardStrings, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.widgets.Listener

public class AddIndexKeyDialog extends AbstractDialog
The Class AddIndexKeyDialog.
  • Field Details

    • typePriority

      public boolean typePriority
      The type priority.
    • featureName

      public String featureName
      The feature name.
    • direction

      public int direction
      The direction.
  • Constructor Details

    • AddIndexKeyDialog

      public AddIndexKeyDialog(AbstractSection aSection, String typeName, String indexKind, List alreadyUsedKeys)
      Instantiates a new adds the index key dialog.
      Parameters:
      aSection - the a section
      typeName - the type name
      indexKind - the index kind
      alreadyUsedKeys - the already used keys
    • AddIndexKeyDialog

      public AddIndexKeyDialog(AbstractSection aSection, String typeName, String indexKind, List alreadyUsedKeys, FsIndexKeyDescription existingKey)
      Instantiates a new adds the index key dialog.
      Parameters:
      aSection - the a section
      typeName - the type name
      indexKind - the index kind
      alreadyUsedKeys - the already used keys
      existingKey - the existing key
  • Method Details

    • createDialogArea

      protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
      Overrides:
      createDialogArea in class AbstractDialog
    • handleEvent

      public void handleEvent(org.eclipse.swt.widgets.Event event)
      Specified by:
      handleEvent in interface org.eclipse.swt.widgets.Listener
      Overrides:
      handleEvent in class AbstractDialog
    • enableOK

      public void enableOK()
      Description copied from class: AbstractDialog
      Enable OK.
      Specified by:
      enableOK in class AbstractDialog
    • copyValuesFromGUI

      public void copyValuesFromGUI()
      Description copied from class: AbstractDialog
      Copy values from GUI.
      Specified by:
      copyValuesFromGUI in class AbstractDialog
    • isValid

      public boolean isValid()
      Description copied from class: AbstractDialog
      Checks if is valid.
      Specified by:
      isValid in class AbstractDialog
      Returns:
      true, if is valid