Methods in
org.eclipse.jface.viewers with parameters of type
TreePath
|
int
|
TreePathViewerSorter.
category
(
TreePath parentPath,
Object element)
Provide a category for the given element that will have the given parent
path when it is added to the viewer. |
int
|
TreePathViewerSorter.
compare
(
Viewer viewer,
TreePath parentPath,
Object e1,
Object e2)
Compare the given elements that will have the given parent
path when they are added to the viewer. |
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. |
Object[]
|
ViewerFilter.
filter
(
Viewer viewer,
TreePath parentPath,
Object[] elements)
Filters the given elements for the given viewer. |
Object[]
|
ITreePathContentProvider.
getChildren
(
TreePath parentPath)
Returns the child elements of the last element in the given path. |
boolean
|
ITreePathContentProvider.
hasChildren
(
TreePath path)
Returns whether the last element of the given path has children. |
boolean
|
TreePathViewerSorter.
isSorterProperty
(
TreePath parentPath,
Object element,
String property)
Returns whether this viewer sorter would be affected
by a change to the given property of the given element. |
void
|
AbstractTreeViewer.
setExpandedTreePaths
(
TreePath[] treePaths)
Sets which nodes are expanded in this viewer's tree. |
void
|
TreePathViewerSorter.
sort
(
Viewer viewer,
TreePath parentPath,
Object[] elements)
Sorts the given elements in-place, modifying the given array. |
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. |
void
|
ILazyTreePathContentProvider.
updateChildCount
(
TreePath treePath,
int currentChildCount)
Called when the TreeViewer needs an up-to-date child count for the given
tree path, for example from
StructuredViewer.refresh() and
StructuredViewer.setInput(Object) . |
void
|
ILazyTreePathContentProvider.
updateElement
(
TreePath parentPath,
int index)
Called when a previously-blank item becomes visible in the TreeViewer. |
void
|
ILazyTreePathContentProvider.
updateHasChildren
(
TreePath path)
Called when the TreeViewer needs up-to-date information whether the node
at the given tree path can be expanded. |
void
|
TreeColumnViewerLabelProvider.
updateLabel
(
ViewerLabel label,
TreePath elementPath)
Update the label for the element with TreePath. |
void
|
DecoratingLabelProvider.
updateLabel
(
ViewerLabel settings,
TreePath elementPath)
|
void
|
ITreePathLabelProvider.
updateLabel
(
ViewerLabel label,
TreePath elementPath)
Updates the label for the given element. |