| java.lang.Object org.eclipse.jface.viewers.StructuredSelection org.eclipse.jface.viewers.TreeSelection
TreeSelection | public class TreeSelection extends StructuredSelection implements ITreeSelection(Code) | | A concrete implementation of the ITreeSelection interface,
suitable for instantiating.
This class is not intended to be subclassed.
since: 3.2 |
EMPTY | final public static TreeSelection EMPTY(Code) | | The canonical empty selection. This selection should be used instead of
null .
|
TreeSelection | public TreeSelection(TreePath[] paths)(Code) | | Constructs a selection based on the elements identified by the given tree
paths.
Parameters: paths - tree paths |
TreeSelection | public TreeSelection(TreePath[] paths, IElementComparer comparer)(Code) | | Constructs a selection based on the elements identified by the given tree
paths.
Parameters: paths - tree paths Parameters: comparer - the comparer, or null if default equals is to be used |
TreeSelection | public TreeSelection(TreePath treePath)(Code) | | Constructs a selection based on the elements identified by the given tree
path.
Parameters: treePath - tree path, or null for an empty selection |
TreeSelection | public TreeSelection(TreePath treePath, IElementComparer comparer)(Code) | | Constructs a selection based on the elements identified by the given tree
path.
Parameters: treePath - tree path, or null for an empty selection Parameters: comparer - the comparer, or null if default equals is to be used |
TreeSelection | public TreeSelection()(Code) | | Creates a new empty selection. See also the static field
EMPTY which contains an empty selection singleton.
Note that TreeSelection.EMPTY is not equals() to StructuredViewer.EMPTY.
See Also: TreeSelection.EMPTY |
getElementComparer | public IElementComparer getElementComparer()(Code) | | Returns the element comparer passed in when the tree selection
has been created or null if no comparer has been
provided.
the element comparer or null since: 3.2 |
hashCode | public int hashCode()(Code) | | |
|
|