Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.mapping.presentation
Class ComposedSelection

java.lang.Object
  extended byorg.eclipse.emf.mapping.presentation.ComposedSelection

All Implemented Interfaces:
IComposedSelection, ISelection, IStructuredSelection


public class ComposedSelection
extends Object
implements IStructuredSelection, IComposedSelection


Field Summary
protected  ISelection primarySelection
           
protected  ISelection[] selections
           
 
Constructor Summary
ComposedSelection(ISelection primarySelection, ISelection[] selections)
           
 
Method Summary
 boolean equals(Object that)
           
 IStructuredSelection getCombinedSelection()
           
 Iterator getElements()
          Deprecated.  
 Object getFirstElement()
           
 Object getPrimaryItem()
           
 ISelection getSelection()
           
 ISelection[] getSelections()
           
 boolean isEmpty()
           
 Iterator iterator()
           
 int size()
           
 Object[] toArray()
           
 List toList()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

 

Field Detail

 

 

selections

protected ISelection[] selections


 

 

primarySelection

protected ISelection primarySelection

Constructor Detail

 

 

ComposedSelection

public ComposedSelection(ISelection primarySelection,
                         ISelection[] selections)

Method Detail

 

 

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()


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD