Class FlowSection

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.FlowSection
All Implemented Interfaces:
StandardStrings, org.eclipse.swt.widgets.Listener, org.eclipse.ui.forms.IFormPart

public class FlowSection extends AbstractSection
The Class FlowSection.
  • Field Details

  • Constructor Details

    • FlowSection

      public FlowSection(MultiPageEditor aEditor, org.eclipse.swt.widgets.Composite parent)
      creates a section only for aggregate specifiers to define the flow of their delegates.
      Parameters:
      aEditor - the referenced multipage 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)
    • handleRemove

      public void handleRemove()
      Handle remove.
    • addNode

      public void addNode(String node)
      Adds a node to the flowList.
      Parameters:
      node - the key of the delegate
    • enable

      public void enable()
      Enables and disables section, enables and disables buttons after content.
      Specified by:
      enable in class AbstractSection
    • containsNode

      public boolean containsNode(String node)
      Proofs if a node is contained in the list of nodes.
      Parameters:
      node - the node
      Returns:
      whether the node is in the list or not
    • getDownButton

      public org.eclipse.swt.widgets.Button getDownButton()
      Gets the down button.
      Returns:
      the down button
    • getFlowList

      public org.eclipse.swt.widgets.Table getFlowList()
      Gets the flow list.
      Returns:
      the flow list
    • getUpButton

      public org.eclipse.swt.widgets.Button getUpButton()
      Gets the up button.
      Returns:
      the up button
    • removeAll

      public void removeAll()
      Removes the all.