|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of nodes this handler handlesK
- the key used by the nodes to identify childrenpublic interface ITreeNodeHandler<T,K>
This interface is used by TreeUtils
to create tree structures. We use
this factory-based approach as this allows us to create trees based on model
elements that do not have to implement any specific interfaces.
Method Summary | |
---|---|
T |
createRoot()
Create root of node of the tree. |
T |
getOrCreateChild(T node,
K key)
Get the nodes child identified by the provided key. |
Method Detail |
---|
T getOrCreateChild(T node, K key)
T createRoot()
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |