Package org.apache.uima.caseditor.editor
Class FeatureStructureSelection
java.lang.Object
org.apache.uima.caseditor.editor.FeatureStructureSelection
The Class FeatureStructureSelection.
-
Constructor Summary
ConstructorDescriptionFeatureStructureSelection
(org.eclipse.jface.viewers.IStructuredSelection selection) Initializes a the current instance with all FeatureStructure object that are contained in theStructuredSelection
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
Indicates that the selection is empty.int
size()
Retrieves the size of the collection.toList()
Retrieves a list ofFeatureStructure
objects.toString()
Retrieves a human readable string.
-
Constructor Details
-
FeatureStructureSelection
public FeatureStructureSelection(org.eclipse.jface.viewers.IStructuredSelection selection) Initializes a the current instance with all FeatureStructure object that are contained in theStructuredSelection
.- 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
Retrieves a list ofFeatureStructure
objects.- Returns:
- all selected
FeatureStructure
objects
-
toString
Retrieves a human readable string.
-