public class ComposedSelection extends java.lang.Object implements IComposedSelection
Modifier and Type | Field and Description |
---|---|
protected ISelection |
primarySelection |
protected ISelection[] |
selections |
Constructor and Description |
---|
ComposedSelection(ISelection primarySelection,
ISelection[] selections) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
IStructuredSelection |
getCombinedSelection() |
java.util.Iterator<?> |
getElements()
Deprecated.
|
java.lang.Object |
getFirstElement() |
java.lang.Object |
getPrimaryItem() |
ISelection |
getSelection() |
ISelection[] |
getSelections() |
boolean |
isEmpty() |
java.util.Iterator<?> |
iterator() |
int |
size() |
java.lang.Object[] |
toArray() |
java.util.List<?> |
toList() |
java.lang.String |
toString() |
protected ISelection[] selections
protected ISelection primarySelection
public ComposedSelection(ISelection primarySelection, ISelection[] selections)
public boolean isEmpty()
@Deprecated public java.util.Iterator<?> getElements()
public java.util.Iterator<?> iterator()
public java.lang.Object[] toArray()
public java.util.List<?> toList()
public java.lang.Object getFirstElement()
public java.lang.Object getPrimaryItem()
public int size()
public ISelection getSelection()
getSelection
in interface IComposedSelection
public ISelection[] getSelections()
getSelections
in interface IComposedSelection
public IStructuredSelection getCombinedSelection()
getCombinedSelection
in interface IComposedSelection
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object