public static class BundleRegistryQuery.ExtensionTreeResult extends BundleRegistryQuery.BundleTreeResult
EMPTY
Constructor and Description |
---|
BundleRegistryQuery.ExtensionTreeResult(OSGiModel model) |
Modifier and Type | Method and Description |
---|---|
List<?> |
getChildren(Object parent)
Returns the child elements of the given parent.
|
Column[] |
getColumns()
The columns of the tree or table.
|
List<?> |
getElements()
Returns the root elements of the tree.
|
BundleRegistryQuery.Grouping |
getGroupBy() |
boolean |
hasChildren(Object element)
Returns whether the given element has children.
|
getColumnValue, getContext, getIcon, getModel, getResultMetaData
public BundleRegistryQuery.ExtensionTreeResult(OSGiModel model)
public List<?> getChildren(Object parent)
IResultTree
getChildren
in interface IResultTree
getChildren
in class BundleRegistryQuery.BundleTreeResult
parent
- The row object as returned by the
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.public List<?> getElements()
IResultTree
getElements
in interface IResultTree
getElements
in class BundleRegistryQuery.BundleTreeResult
IResultTree.getChildren(Object)
or
IStructuredResult.getContext(Object)
or
IStructuredResult.getColumnValue(Object, int)
.public boolean hasChildren(Object element)
IResultTree
hasChildren
in interface IResultTree
hasChildren
in class BundleRegistryQuery.BundleTreeResult
public BundleRegistryQuery.Grouping getGroupBy()
getGroupBy
in class BundleRegistryQuery.BundleTreeResult
public Column[] getColumns()
IStructuredResult
getColumns
in interface IStructuredResult
getColumns
in class BundleRegistryQuery.BundleTreeResult