| org.netbeans.modules.bpel.mapper.tree.spi.MapperTreeExtensionModel
MapperTreeExtensionModel | public interface MapperTreeExtensionModel (Code) | | The SPI interface for constructing extensions to a tree.
The extension model is intended to provide additional items in the tree.
It doesn't allow to eliminate items, which are provided by main
mapper model or by another extension models.
It is used by the BPEL mapper for building left and right trees.
An external code can provide an instance of such interface
to show required tree.
author: nk160297 |
getChildren | List<TreeItem> getChildren(RestartableIterator<Object> dataObjectPathItr)(Code) | | Returns a list of children objects of the specified parent.
It is not guaranteed that repeated call will return the list
of the same objects. An empty list can be returned.
Parameters: dataObjectPath - is the list in which the deepest tree item is the first. |
getTreeItemInfoProvider | public TreeItemInfoProvider getTreeItemInfoProvider()(Code) | | The interface TreeItemInfoProvider provides extended functions required
for a tree view.
The info provider is specific for the MapperTreeExtensionModel but
the same info provider can be used by different models. So there is
a kind of aggregation here.
|
isConnectable | public Boolean isConnectable(Object node)(Code) | | Indicates if the specified tree item can be used as source or target of a link.
Null means that the model doesn't know if the node is connectable or not.
Parameters: treeItem - |
isLeaf | public Boolean isLeaf(Object node)(Code) | | Returns Boolean.TRUE, Boolean.FALSE or null.
Null means that the model doesn't know if the node is leaf or not.
|
|
|