|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mat.internal.snapshot.inspections.Path2GCRootsQuery.Tree
public static final class Path2GCRootsQuery.Tree
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.mat.query.IIconProvider |
|---|
EMPTY |
| Fields inherited from interface org.eclipse.mat.query.ISelectionProvider |
|---|
EMPTY |
| Constructor Summary | |
|---|---|
Path2GCRootsQuery.Tree(ISnapshot snapshot,
int objectId,
IPathsFromGCRootsComputer computer)
|
|
| Method Summary | |
|---|---|
List<?> |
addNextPath()
|
List<?> |
getChildren(Object parent)
Returns the child elements of the given parent. |
Column[] |
getColumns()
The columns of the tree or table. |
Object |
getColumnValue(Object row,
int columnIndex)
Returns the (unformatted) value of a table/tree cell. |
IContextObject |
getContext(Object row)
The default context of the row which is used to display information in the object inspector. |
List<?> |
getElements()
Returns the root elements of the tree. |
URL |
getIcon(Object row)
|
int |
getNumberOfPaths()
|
ResultMetaData |
getResultMetaData()
(Optionally) Return meta data of the result needed to fine-tune the display of the result. |
boolean |
hasChildren(Object element)
Returns whether the given element has children. |
boolean |
isExpanded(Object row)
Should this node be expanded. |
boolean |
isSelected(Object row)
Has the user selected this row |
boolean |
morePathsAvailable()
|
String |
prefix(Object row)
Add before the object for example <local> |
String |
suffix(Object row)
Add after the object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Path2GCRootsQuery.Tree(ISnapshot snapshot,
int objectId,
IPathsFromGCRootsComputer computer)
| Method Detail |
|---|
public List<?> addNextPath()
throws SnapshotException
SnapshotExceptionpublic boolean morePathsAvailable()
public int getNumberOfPaths()
public ResultMetaData getResultMetaData()
IResult
getResultMetaData in interface IResultpublic final Column[] getColumns()
IStructuredResult
getColumns in interface IStructuredResultpublic List<?> getElements()
IResultTree
getElements in interface IResultTreeIResultTree.getChildren(Object) or
IStructuredResult.getContext(Object) or
IStructuredResult.getColumnValue(Object, int).public List<?> getChildren(Object parent)
IResultTree
getChildren in interface IResultTreeparent - The row object as returned by the
IResultTree.getElements() or
IResultTree.getChildren(Object) methods.public boolean hasChildren(Object element)
IResultTree
hasChildren in interface IResultTree
public final Object getColumnValue(Object row,
int columnIndex)
IStructuredResult
getColumnValue in interface IStructuredResultrow - The row object as returned by the
IResultTable.getRow(int) or
IResultTree.getElements() or
IResultTree.getChildren(Object) methodscolumnIndex - The index of the column.public final IContextObject getContext(Object row)
IStructuredResultResultMetaData, it is also used for the context menu on a row.
getContext in interface IStructuredResultrow - The row object as returned by the
IResultTable.getRow(int) or
IResultTree.getElements() or
IResultTree.getChildren(Object) methods.public URL getIcon(Object row)
getIcon in interface IIconProviderpublic boolean isExpanded(Object row)
ISelectionProvider
isExpanded in interface ISelectionProviderpublic boolean isSelected(Object row)
ISelectionProvider
isSelected in interface ISelectionProviderpublic final String prefix(Object row)
IDecorator
prefix in interface IDecoratorpublic final String suffix(Object row)
IDecorator
suffix in interface IDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||