|
Re: Get eobject from link [message #1796413 is a reply to message #1796356] |
Fri, 12 October 2018 14:05 |
|
Hi David,
In an AQL expression, view.sourceNode and view.TargetNode will be the source diagram element and the target diagram element of your current edge.
They are elements of the internal Sirius model. They are also instance of DSemanticDecorator and have a reference "target" which is the link to the semantic model.
Semantic element of the edge:
view.oclAsType(viewpoint::DSemanticDecorator).target
Semantic element of the source:
view.sourceNode.oclAsType(viewpoint::DSemanticDecorator).target
Semantic element of the target:
view.targetNode.oclAsType(viewpoint::DSemanticDecorator).target
Regards,
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
[Updated on: Fri, 12 October 2018 15:02] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01213 seconds