Class FeatureStructureSelection

java.lang.Object
org.apache.uima.caseditor.editor.FeatureStructureSelection

public class FeatureStructureSelection extends Object
The Class FeatureStructureSelection.
  • Constructor Details

    • FeatureStructureSelection

      public FeatureStructureSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
      Initializes a the current instance with all FeatureStructure object that are contained in the StructuredSelection.
      Parameters:
      selection - the selection
  • Method Details

    • size

      public int size()
      Retrieves the size of the collection.
      Returns:
      the size
    • isEmpty

      public boolean isEmpty()
      Indicates that the selection is empty.
      Returns:
      true if empty false otherwise
    • toList

      public List<FeatureStructure> toList()
      Retrieves a list of FeatureStructure objects.
      Returns:
      all selected FeatureStructure objects
    • toString

      public String toString()
      Retrieves a human readable string.
      Overrides:
      toString in class Object
      Returns:
      human readable string