Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » inStructuredNode reference
inStructuredNode reference [message #624531] Sat, 25 August 2007 13:11
Krzysztof Kaczmarski is currently offline Krzysztof KaczmarskiFriend
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.
Previous Topic:Is there a plug-in for reverse engineering a class diagram from .java files
Next Topic:Is there a plug-in for reverse engineering a class diagram from .java files
Goto Forum:
  


Current Time: Wed May 15 07:30:48 GMT 2024

Powered by FUDForum. Page generated in 0.02786 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top