Transform messages to List or Tree [message #1426122] |
Thu, 18 September 2014 09:22 |
Philippot Sébastien Messages: 10 Registered: May 2014 |
Junior Member |
|
|
Hello,
i'm stuck since a moment in a problem and I hope finding a solution here!
Actually I want to transform diagram messages into a concept!
In a sequence diagram, a message can call an operation opt1() and it's executed into an ExecutionSpecification.
While executing, op1() can call another operations, so other messages can be related to opt1() ExecutionSpecification's.
I want to collect these messages related to the ExecutionSpecification of opt1() and transform it to metaclass of a meta model in which there is an attribute "callOperations" which must contain the sequence of operations called by opt1().
I took a look to the Tree ToList example cause we can represent it as a tree of root op1 (), vertex are the operations and Edges are the relationship "call"
I take a look also to the OrderedSet to have a liste callOperations = op1; op2; op3.. which means opt1 calls opt2, opt2 calls opt3 etc .
I will appreciate any help !
Thanks in advance
|
|
|
Powered by
FUDForum. Page generated in 0.03869 seconds