Class ResourceDependencySection

java.lang.Object
org.eclipse.ui.forms.AbstractFormPart
org.eclipse.ui.forms.SectionPart
org.apache.uima.taeconfigurator.editors.ui.AbstractSection
org.apache.uima.taeconfigurator.editors.ui.ResourceDependencySection
All Implemented Interfaces:
StandardStrings, org.eclipse.swt.widgets.Listener, org.eclipse.ui.forms.IFormPart

public class ResourceDependencySection extends AbstractSection
Declaration of primitive external resource dependencies A 4 col table: bound/unbound, keys, opt flag, and interface name.
  • Field Details

    • KEY_COL

      public static final int KEY_COL
      The Constant KEY_COL.
      See Also:
    • OPT_COL

      public static final int OPT_COL
      The Constant OPT_COL.
      See Also:
    • table

      public org.eclipse.swt.widgets.Table table
      The table.
  • Constructor Details

    • ResourceDependencySection

      public ResourceDependencySection(MultiPageEditor editor, org.eclipse.swt.widgets.Composite parent)
      Instantiates a new resource dependency section.
      Parameters:
      editor - the editor
      parent - the parent
  • Method Details

    • initialize

      public void initialize(org.eclipse.ui.forms.IManagedForm form)
      Specified by:
      initialize in interface org.eclipse.ui.forms.IFormPart
      Overrides:
      initialize in class AbstractSection
    • refresh

      public void refresh()
      Specified by:
      refresh in interface org.eclipse.ui.forms.IFormPart
      Overrides:
      refresh in class org.eclipse.ui.forms.AbstractFormPart
    • handleEvent

      public void handleEvent(org.eclipse.swt.widgets.Event event)
    • getXRDependencyFromTableItem

      public ExternalResourceDependency getXRDependencyFromTableItem(org.eclipse.swt.widgets.TableItem item)
      Gets the XR dependency from table item.
      Parameters:
      item - the item
      Returns:
      the XR dependency from table item
    • enable

      public void enable()
      Description copied from class: AbstractSection
      Enable.
      Specified by:
      enable in class AbstractSection
    • keyNameAlreadyDefined

      public boolean keyNameAlreadyDefined(String key)
      Key name already defined.
      Parameters:
      key - the key
      Returns:
      true, if successful
    • getTable

      public org.eclipse.swt.widgets.Table getTable()
      Gets the table.
      Returns:
      the table