|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A selection containing elements.
Method Summary | |
Object | getFirstElement()
Returns the first element in this selection, or null if the selection is empty. |
Iterator | iterator()
Returns an iterator over the elements of this selection. |
int | size()
Returns the number of elements selected in this selection. |
Object[] | toArray()
Returns the elements in this selection as an array. |
List | toList()
Returns the elements in this selection as a List. |
Methods inherited from interface org.eclipse.jface.viewers.ISelection |
isEmpty |
Method Detail |
public Object getFirstElement()
public Iterator iterator()
public int size()
public Object[] toArray()
public List toList()
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.