|
Eclipse Platform Release 3.4 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IElementComparer | |
org.eclipse.jface.viewers | Provides a framework for viewers, which are model-based content adapters for SWT widgets. |
Uses of IElementComparer in org.eclipse.jface.viewers |
Methods in org.eclipse.jface.viewers that return IElementComparer | |
IElementComparer |
StructuredViewer.getComparer()
Returns the comparer to use for comparing elements, or null if none has been set. |
IElementComparer |
TreeSelection.getElementComparer()
Returns the element comparer passed in when the tree selection has been created or null if no comparer has been
provided. |
Methods in org.eclipse.jface.viewers with parameters of type IElementComparer | |
void |
StructuredViewer.setComparer(IElementComparer comparer)
Sets the comparer to use for comparing elements, or null
to use the default equals and hashCode
methods on the elements themselves. |
int |
TreePath.hashCode(IElementComparer comparer)
Returns a hash code computed from the hash codes of the segments, using the given comparer to compute the hash codes of the segments. |
boolean |
TreePath.equals(TreePath otherPath,
IElementComparer comparer)
Returns whether this path is equivalent to the given path using the specified comparer to compare individual elements. |
boolean |
TreePath.startsWith(TreePath treePath,
IElementComparer comparer)
Returns whether this path starts with the same segments as the given path, using the given comparer to compare segments. |
Constructors in org.eclipse.jface.viewers with parameters of type IElementComparer | |
StructuredSelection(List elements,
IElementComparer comparer)
Creates a structured selection from the given List and
element comparer. |
|
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. |
|
Eclipse Platform Release 3.4 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.