SELECTIONTYPE - The selection type, must be common between all selections (if multiple).public interface UISelection<SELECTIONTYPE> extends Iterable<SELECTIONTYPE>
UIContext is currently focused. This may be the current working
directory, highlighted files, text, or other focusable items.
This object and the iterator provided by this object are immutable.| Modifier and Type | Method and Description |
|---|---|
SELECTIONTYPE |
get()
Provides the first selected element as a
SELECTIONTYPE. |
int |
size()
Counts the elements in this selection.
|
SELECTIONTYPE get()
SELECTIONTYPE.
This is a convenience method to avoid iteration.int size()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.