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

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

Introduction

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

The text is from its open source code.

Field

TreeSelectionEMPTY
The canonical empty selection.

Constructor

TreeSelection(TreePath[] paths)
Constructs a selection based on the elements identified by the given tree paths.
TreeSelection(TreePath treePath)
Constructs a selection based on the elements identified by the given tree path.
TreeSelection(InitializeData data)
Creates a new tree selection based on the initialization data.
TreeSelection(TreePath[] paths, IElementComparer comparer)
Constructs a selection based on the elements identified by the given tree paths.
TreeSelection(TreePath treePath, IElementComparer comparer)
Constructs a selection based on the elements identified by the given tree path.
TreeSelection()
Creates a new empty selection.

Method

booleanequals(Object obj)
IElementComparergetElementComparer()
Returns the element comparer passed in when the tree selection has been created or null if no comparer has been provided.
ObjectgetFirstElement()
TreePath[]getPaths()
TreePath[]getPathsFor(Object element)
booleanisEmpty()
Iteratoriterator()
intsize()
Object[]toArray()
ListtoList()
StringtoString()
Internal method which returns a string representation of this selection suitable for debug purposes only.