Java org.eclipse.jface.viewers ITreeSelection fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.viewers ITreeSelection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.viewers ITreeSelection.

The text is from its open source code.

Implementation

org.eclipse.jface.viewers.ITreeSelection has the following implementations.
Click this link to see all its implementation.

Method

ObjectgetFirstElement()
Returns the first element in this selection, or null if the selection is empty.
TreePath[]getPaths()
Returns the paths in this selection
TreePath[]getPathsFor(Object element)
Returns the paths in this selection whose last segment is equal to the given element
booleanisEmpty()
Returns whether this selection is empty.
Iteratoriterator()
Returns an iterator over the elements of this selection.
intsize()
Returns the number of elements selected in this selection.
Object[]toArray()
Returns the elements in this selection as an array.
ListtoList()
Returns the elements in this selection as a List.