inStructuredNode reference [message #624531] |
Sat, 25 August 2007 13:11 |
Krzysztof Kaczmarski Messages: 88 Registered: July 2009 |
Member |
|
|
Hi All,
I just wanted to ask if this is correct.
When I create any kind of StructuredActivityNode inside a SequenceNode
using createNode(...) I can navigate from parent node to child node
using getNode() or getNodes(). However, I cannot navigate from child
to parent element using getInStructuredNode. Specification says that
the latter is the reverse reference to the first.
The problem is solved when I do:
child.setInStructuredNode( parentNode )
manually, after the child is created.
Shouldn't it be set automatically?
Cheers,
Krzysztof
Ps. The same is for Activity and its nodes. I have to use
setInActivity() for them.
|
|
|
Powered by
FUDForum. Page generated in 0.02786 seconds