Class ExtnlResBindSection

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

public class ExtnlResBindSection extends AbstractSection
The Class ExtnlResBindSection.
  • Constructor Details

    • ExtnlResBindSection

      public ExtnlResBindSection(MultiPageEditor aEditor, org.eclipse.swt.widgets.Composite parent)
      Instantiates a new extnl res bind section.
      Parameters:
      aEditor - the a 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)
    • getXRDescriptionFromTreeItem

      public ExternalResourceDescription getXRDescriptionFromTreeItem(org.eclipse.swt.widgets.TreeItem item)
      Gets the XR description from tree item.
      Parameters:
      item - the item
      Returns:
      the XR description from tree item
    • getXRBindingFromTreeItem

      public ExternalResourceBinding getXRBindingFromTreeItem(org.eclipse.swt.widgets.TreeItem item)
      Gets the XR binding from tree item.
      Parameters:
      item - the item
      Returns:
      the XR binding from tree item
    • enable

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

      public boolean resourceNameAlreadyDefined(String name)
      Resource name already defined.
      Parameters:
      name - the name
      Returns:
      true, if successful