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