|
Eclipse Platform Release 3.3 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TreePath | |
---|---|
org.eclipse.jface.viewers | Provides a framework for viewers, which are model-based content adapters for SWT widgets. |
org.eclipse.ui.navigator | Provides the Common Navigator framework. |
Uses of TreePath in org.eclipse.jface.viewers |
---|
Fields in org.eclipse.jface.viewers declared as TreePath | |
static TreePath |
TreePath.EMPTY
Constant for representing an empty tree path. |
Methods in org.eclipse.jface.viewers that return TreePath | |
abstract TreePath |
ViewerRow.getTreePath()
The tree path used to identify an element by the unique path |
TreePath |
TreeViewerRow.getTreePath()
|
TreePath[] |
TreeSelection.getPaths()
|
TreePath[] |
TreeSelection.getPathsFor(Object element)
|
TreePath |
TreePath.getParentPath()
Returns a copy of this tree path with one segment removed from the end, or null if this tree path has no segments. |
TreePath |
TreePath.createChildPath(Object newSegment)
Returns a copy of this tree path with the given segment added at the end. |
TreePath |
TableViewerRow.getTreePath()
|
TreePath[] |
ITreeSelection.getPaths()
Returns the paths in this selection |
TreePath[] |
ITreeSelection.getPathsFor(Object element)
Returns the paths in this selection whose last segment is equal to the given element |
TreePath[] |
ITreePathContentProvider.getParents(Object element)
Return the possible parent paths for the given element. |
TreePath[] |
ILazyTreePathContentProvider.getParents(Object element)
Return the possible parent paths for the given element. |
protected TreePath |
AbstractTreeViewer.getTreePathFromItem(Item item)
Returns the tree path for the given item. |
TreePath[] |
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. |
Methods in org.eclipse.jface.viewers with parameters of type TreePath | |
Object[] |
ViewerFilter.filter(Viewer viewer,
TreePath parentPath,
Object[] elements)
Filters the given elements for the given viewer. |
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 |
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 |
TreePathViewerSorter.sort(Viewer viewer,
TreePath parentPath,
Object[] elements)
Sorts the given elements in-place, modifying the given array. |
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. |
void |
TreeColumnViewerLabelProvider.updateLabel(ViewerLabel label,
TreePath elementPath)
Update the label for the element with TreePath. |
void |
ITreePathLabelProvider.updateLabel(ViewerLabel label,
TreePath elementPath)
Updates the label for the given element. |
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. |
void |
ILazyTreePathContentProvider.updateElement(TreePath parentPath,
int index)
Called when a previously-blank item becomes visible in the TreeViewer. |
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.updateHasChildren(TreePath path)
Called when the TreeViewer needs up-to-date information whether the node at the given tree path can be expanded. |
void |
DecoratingLabelProvider.updateLabel(ViewerLabel settings,
TreePath elementPath)
|
void |
AbstractTreeViewer.setExpandedTreePaths(TreePath[] treePaths)
Sets which nodes are expanded in this viewer's tree. |
Constructors in org.eclipse.jface.viewers with parameters of type TreePath | |
TreeSelection(TreePath[] paths)
Constructs a selection based on the elements identified by the given tree paths. |
|
TreeSelection(TreePath[] paths,
IElementComparer comparer)
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(TreePath treePath,
IElementComparer comparer)
Constructs a selection based on the elements identified by the given tree path. |
Uses of TreePath in org.eclipse.ui.navigator |
---|
Methods in org.eclipse.ui.navigator with parameters of type TreePath | |
int |
CommonViewerSorter.compare(Viewer viewer,
TreePath parentPath,
Object e1,
Object e2)
|
|
Eclipse Platform Release 3.3 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.