Example usage for Java org.eclipse.jface.viewers IStructuredSelection fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | getFirstElement() Returns the first element in this selection, or null if the selection is empty. |
boolean | isEmpty() Returns whether this selection is empty. |
Iterator | iterator() Returns an iterator over the elements of this selection. |
int | size() Returns the number of elements selected in this selection. |
Object[] | toArray() Returns the elements in this selection as an array. |
List | toList() Returns the elements in this selection as a List . |