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 Object
- implements IStructuredSelection, IComposedSelection
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
public Iterator getElements()
- Deprecated.
iterator
public Iterator iterator()
- Specified by:
iterator
in interface IStructuredSelection
toArray
public Object[] toArray()
- Specified by:
toArray
in interface IStructuredSelection
toList
public List toList()
- Specified by:
toList
in interface IStructuredSelection
getFirstElement
public Object getFirstElement()
- Specified by:
getFirstElement
in interface IStructuredSelection
getPrimaryItem
public 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(Object that)
toString
public String toString()