Class AddCapabilityTypeDialog

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
All Implemented Interfaces:
StandardStrings, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.widgets.Listener

public class AddCapabilityTypeDialog extends AbstractDialogMultiColTable
The Class AddCapabilityTypeDialog.
  • Field Details

    • types

      public String[] types
      The types.
    • inputs

      public boolean[] inputs
      The inputs.
    • outputs

      public boolean[] outputs
      The outputs.
  • Constructor Details

    • AddCapabilityTypeDialog

      public AddCapabilityTypeDialog(AbstractSection aSection, org.apache.uima.resource.metadata.Capability c)
      Instantiates a new adds the capability type dialog.
      Parameters:
      aSection - the a section
      c - the c
    • AddCapabilityTypeDialog

      public AddCapabilityTypeDialog(AbstractSection aSection, org.apache.uima.resource.metadata.Capability c, org.eclipse.swt.widgets.TreeItem aExisting)
      Instantiates a new adds the capability type dialog.
      Parameters:
      aSection - the a section
      c - the c
      aExisting - the a existing
  • Method Details

    • createDialogArea

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

      public void copyValuesFromGUI()
      Return values having at least one of input or output selected.
      Specified by:
      copyValuesFromGUI in class AbstractDialog
    • setGuiTypeName

      public void setGuiTypeName(org.eclipse.swt.widgets.TreeItem item, String typeName)
      Sets the gui type name.
      Parameters:
      item - the item
      typeName - the type name
    • isValid

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