public static class BundleRegistryQuery.ServicesTreeResult extends BundleRegistryQuery.BundleTreeResult
EMPTY| Constructor and Description |
|---|
ServicesTreeResult(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, getResultMetaDatapublic ServicesTreeResult(OSGiModel model)
public List<?> getChildren(Object parent)
IResultTreegetChildren in interface IResultTreegetChildren in class BundleRegistryQuery.BundleTreeResultparent - The row object as returned by the
IResultTree.getElements() or
IResultTree.getChildren(Object) methods.public List<?> getElements()
IResultTreegetElements in interface IResultTreegetElements in class BundleRegistryQuery.BundleTreeResultIResultTree.getChildren(Object) or
IStructuredResult.getContext(Object) or
IStructuredResult.getColumnValue(Object, int).public boolean hasChildren(Object element)
IResultTreehasChildren in interface IResultTreehasChildren in class BundleRegistryQuery.BundleTreeResultelement - the opaque object used to indicate which branchpublic BundleRegistryQuery.Grouping getGroupBy()
getGroupBy in class BundleRegistryQuery.BundleTreeResultpublic Column[] getColumns()
IStructuredResultgetColumns in interface IStructuredResultgetColumns in class BundleRegistryQuery.BundleTreeResult