Class AddTypeToPriorityListDialog

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.AddTypeToPriorityListDialog
All Implemented Interfaces:
StandardStrings, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.widgets.Listener

public class AddTypeToPriorityListDialog extends AbstractDialog
The Class AddTypeToPriorityListDialog.
  • Constructor Details

    • AddTypeToPriorityListDialog

      public AddTypeToPriorityListDialog(AbstractSection aSection, Set allowableTypeNameHash, String[] typesInList)
      Instantiates a new adds the type to priority list dialog.
      Parameters:
      aSection - the a section
      allowableTypeNameHash - the allowable type name hash
      typesInList - the types in list
  • Method Details

    • createDialogArea

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

      public String[] getSelectedTypeNames()
      Gets the selected type names.
      Returns:
      the selected type names
    • 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
    • enableOK

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