Package org.eclipse.mat.inspections.osgi
Class BundleRegistryQuery.ServicesTreeResult
java.lang.Object
org.eclipse.mat.inspections.osgi.BundleRegistryQuery.BundleTreeResult
org.eclipse.mat.inspections.osgi.BundleRegistryQuery.ServicesTreeResult
- All Implemented Interfaces:
IIconProvider
,IResult
,IResultTree
,IStructuredResult
- Enclosing class:
- BundleRegistryQuery
public static class BundleRegistryQuery.ServicesTreeResult
extends BundleRegistryQuery.BundleTreeResult
-
Field Summary
Fields inherited from interface org.eclipse.mat.query.IIconProvider
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<?>
getChildren
(Object parent) Returns the child elements of the given parent.Column[]
The columns of the tree or table.List<?>
Returns the root elements of the tree.boolean
hasChildren
(Object element) Returns whether the given element has children.Methods inherited from class org.eclipse.mat.inspections.osgi.BundleRegistryQuery.BundleTreeResult
getColumnValue, getContext, getIcon, getModel, getResultMetaData
-
Constructor Details
-
ServicesTreeResult
-
-
Method Details
-
getChildren
Description copied from interface:IResultTree
Returns the child elements of the given parent.- Specified by:
getChildren
in interfaceIResultTree
- Overrides:
getChildren
in classBundleRegistryQuery.BundleTreeResult
- Parameters:
parent
- The row object as returned by theIResultTree.getElements()
orIResultTree.getChildren(Object)
methods.- Returns:
- a list of children of this branch of the tree
-
getElements
Description copied from interface:IResultTree
Returns the root elements of the tree.- Specified by:
getElements
in interfaceIResultTree
- Overrides:
getElements
in classBundleRegistryQuery.BundleTreeResult
- Returns:
- a list of all the root elements of the tree
as opaque row objects representing each row
which can be passed to
IResultTree.getChildren(Object)
orIStructuredResult.getContext(Object)
orIStructuredResult.getColumnValue(Object, int)
.
-
hasChildren
Description copied from interface:IResultTree
Returns whether the given element has children.- Specified by:
hasChildren
in interfaceIResultTree
- Overrides:
hasChildren
in classBundleRegistryQuery.BundleTreeResult
- Parameters:
element
- the opaque object used to indicate which branch- Returns:
- true if this element has children
-
getGroupBy
- Overrides:
getGroupBy
in classBundleRegistryQuery.BundleTreeResult
-
getColumns
Description copied from interface:IStructuredResult
The columns of the tree or table.- Specified by:
getColumns
in interfaceIStructuredResult
- Overrides:
getColumns
in classBundleRegistryQuery.BundleTreeResult
- Returns:
- an array of all the columns
-