Class IndexSection

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

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

    • ANNOTATION_INDEX_BUILT_IN

      public static final String ANNOTATION_INDEX_BUILT_IN
      The Constant ANNOTATION_INDEX_BUILT_IN.
      See Also:
    • INDEX_NAME_COL

      public static final int INDEX_NAME_COL
      The Constant INDEX_NAME_COL.
      See Also:
    • INDEX_TYPE_COL

      public static final int INDEX_TYPE_COL
      The Constant INDEX_TYPE_COL.
      See Also:
    • ASC_DES_COL

      public static final int ASC_DES_COL
      The Constant ASC_DES_COL.
      See Also:
    • INDEX_KIND_COL

      public static final int INDEX_KIND_COL
      The Constant INDEX_KIND_COL.
      See Also:
    • tt

      public org.eclipse.swt.widgets.Tree tt
      The tt.
  • Constructor Details

    • IndexSection

      public IndexSection(MultiPageEditor editor, org.eclipse.swt.widgets.Composite parent)
      Instantiates a new index 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
    • createFsIndexKeyDescription

      public FsIndexKeyDescription createFsIndexKeyDescription()
      Creates the fs index key description.
      Returns:
      the fs index key description
    • getBuiltInIndexDescription

      public FsIndexDescription getBuiltInIndexDescription()
      Gets the built in index description.
      Returns:
      the built in index description
    • handleEvent

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

      public void addFsIndexKeyDescription(FsIndexDescription fsid, FsIndexKeyDescription key)
      Adds the fs index key description.
      Parameters:
      fsid - the fsid
      key - the key
    • addFsIndexDescription

      public void addFsIndexDescription(FsIndexDescription fsid)
      Adds the fs index description.
      Parameters:
      fsid - the fsid
    • removeFsIndexDescription

      public void removeFsIndexDescription(FsIndexDescription fsid)
      Removes the fs index description.
      Parameters:
      fsid - the fsid
    • removeFsIndexKeyDescription

      public void removeFsIndexKeyDescription(FsIndexDescription fsid, FsIndexKeyDescription key)
      Removes the fs index key description.
      Parameters:
      fsid - the fsid
      key - the key
    • getAlreadyUsedFeatures

      public List<String> getAlreadyUsedFeatures(FsIndexDescription ndx)
      Gets the already used features.
      Parameters:
      ndx - the ndx
      Returns:
      the already used features
    • addOrEditIndexKey

      public FsIndexKeyDescription addOrEditIndexKey(AddIndexKeyDialog dialog, FsIndexKeyDescription key)
      Adds the or edit index key.
      Parameters:
      dialog - the dialog
      key - the key
      Returns:
      the fs index key description
    • isDuplicateIndexLabel

      public boolean isDuplicateIndexLabel(String indexLabel)
      This has to check the resolvedImports, mergedWithDelegates version of the fsindexes.
      Parameters:
      indexLabel - the index label
      Returns:
      true, if is duplicate index label
    • enable

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