Uses of Class
Provides a framework for viewers, which are model-based content adapters for SWT widgets.
Provides the Common Navigator framework.
Uses of TreePath in org.eclipse.jface.viewersModifier and TypeFieldDescription
static final TreePathTreePath.
EMPTYConstant for representing an empty tree path.Modifier and TypeMethodDescriptionReturns a copy of this tree path with the given segment added at the end.AbstractTreeViewer.
getExpandedTreePaths()Returns a list of tree paths corresponding to expanded nodes in this viewer's tree, including currently hidden ones that are marked as expanded but are under a collapsed ancestor.TreePath.
getParentPath()Returns a copy of this tree path with one segment removed from the end, or
nullif this tree path has no segments.Return the possible parent paths for the given element.Return the possible parent paths for the given element.ITreeSelection.
getPaths()Returns the paths in this selectionTreeSelection.
getPaths()Returns the paths in this selection whose last segment is equal to the given elementTableViewerRow.
getTreePath()The tree path used to identify an element by the unique path
protected TreePathReturns the tree path for the given item.Modifier and TypeMethodDescription
intProvide a category for the given element that will have the given parent path when it is added to the viewer.
intCompare the given elements that will have the given parent path when they are added to the viewer.
booleanReturns whether this path is equivalent to the given path using the specified comparer to compare individual elements.
ObjectFilters the given elements for the given viewer.
ObjectReturns the child elements of the last element in the given path.
booleanReturns whether the last element of the given path has children.
booleanReturns whether this viewer sorter would be affected by a change to the given property of the given element.
voidSets which nodes are expanded in this viewer's tree.
voidSorts the given elements in-place, modifying the given array.
booleanReturns whether this path starts with the same segments as the given path, using the given comparer to compare segments.
voidCalled when a previously-blank item becomes visible in the TreeViewer.
voidCalled when the TreeViewer needs up-to-date information whether the node at the given tree path can be expanded.
voidUpdates the label for the given element.
voidUpdate the label for the element with TreePath.ModifierConstructorDescriptionConstructs a selection based on the elements identified by the given tree path.Constructs a selection based on the elements identified by the given tree paths.Constructs a selection based on the elements identified by the given tree paths.Constructs a selection based on the elements identified by the given tree path.