org.eclipse.emf.mapping.presentation
Class ComposedSelection
java.lang.Object
org.eclipse.emf.mapping.presentation.ComposedSelection
- All Implemented Interfaces:
- IComposedSelection, ISelection, IStructuredSelection
public class ComposedSelection
- extends java.lang.Object
- implements IStructuredSelection, IComposedSelection
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
selections
protected ISelection[] selections
primarySelection
protected ISelection primarySelection
ComposedSelection
public ComposedSelection(ISelection primarySelection,
ISelection[] selections)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface ISelection
getElements
@Deprecated
public java.util.Iterator<?> getElements()
- Deprecated.
iterator
public java.util.Iterator<?> iterator()
- Specified by:
iterator
in interface IStructuredSelection
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface IStructuredSelection
toList
public java.util.List<?> toList()
- Specified by:
toList
in interface IStructuredSelection
getFirstElement
public java.lang.Object getFirstElement()
- Specified by:
getFirstElement
in interface IStructuredSelection
getPrimaryItem
public java.lang.Object getPrimaryItem()
size
public int size()
- Specified by:
size
in interface IStructuredSelection
getSelection
public ISelection getSelection()
- Specified by:
getSelection
in interface IComposedSelection
getSelections
public ISelection[] getSelections()
- Specified by:
getSelections
in interface IComposedSelection
getCombinedSelection
public IStructuredSelection getCombinedSelection()
- Specified by:
getCombinedSelection
in interface IComposedSelection
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object