|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.inspections.osgi.BundleRegistryQuery.BundleTreeResult
public static class BundleRegistryQuery.BundleTreeResult
Field Summary |
---|
Fields inherited from interface org.eclipse.mat.query.IIconProvider |
---|
EMPTY |
Constructor Summary | |
---|---|
BundleRegistryQuery.BundleTreeResult(OSGiModel model)
|
Method Summary | |
---|---|
java.util.List<?> |
getChildren(java.lang.Object parent)
Returns the child elements of the given parent. |
Column[] |
getColumns()
The columns of the tree or table. |
java.lang.Object |
getColumnValue(java.lang.Object row,
int columnIndex)
Returns the (unformatted) value of a table/tree cell. |
IContextObject |
getContext(java.lang.Object row)
The default context of the row which is used to display information in the object inspector. |
java.util.List<?> |
getElements()
Returns the root elements of the tree. |
BundleRegistryQuery.Grouping |
getGroupBy()
|
java.net.URL |
getIcon(java.lang.Object row)
|
OSGiModel |
getModel()
|
ResultMetaData |
getResultMetaData()
(Optionally) Return meta data of the result needed to fine-tune the display of the result. |
boolean |
hasChildren(java.lang.Object element)
Returns whether the given element has children. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleRegistryQuery.BundleTreeResult(OSGiModel model)
Method Detail |
---|
public OSGiModel getModel()
public java.util.List<?> getChildren(java.lang.Object parent)
IResultTree
getChildren
in interface IResultTree
parent
- The row object as returned by the
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.public java.util.List<?> getElements()
IResultTree
getElements
in interface IResultTree
IResultTree.getChildren(Object)
or
IStructuredResult.getContext(Object)
or
IStructuredResult.getColumnValue(Object, int)
.public boolean hasChildren(java.lang.Object element)
IResultTree
hasChildren
in interface IResultTree
public Column[] getColumns()
IStructuredResult
getColumns
in interface IStructuredResult
public java.lang.Object getColumnValue(java.lang.Object row, int columnIndex)
IStructuredResult
getColumnValue
in interface IStructuredResult
row
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methodscolumnIndex
- The index of the column.public IContextObject getContext(java.lang.Object row)
IStructuredResult
ResultMetaData
, it is also used for the context menu on a row.
getContext
in interface IStructuredResult
row
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.public ResultMetaData getResultMetaData()
IResult
getResultMetaData
in interface IResult
public java.net.URL getIcon(java.lang.Object row)
getIcon
in interface IIconProvider
public BundleRegistryQuery.Grouping getGroupBy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |