Edge Reconnection Tool [message #1769666] |
Wed, 02 August 2017 09:57  |
Eclipse User |
|
|
|
Hi all,
In a diagram I have 3 nodes, let say A, B, and C.
I created an edge from B to A.
Now I want this edge going from C to A.
So I've created an Edge Reconnect Edition Tool with Reconnection Kind as 'Reconnect Source'.
In this case, I should have as variable :
A : element
B : source
C : target
But actually I have :
A : Nothing
B : source, element
C : target
Moreover, in the Begin section, when I start with a "Change Context" set to var:element, the context seems to be null.
Is it a bug, a known bug or an error from me ?
Thanks for your answers....
|
|
|
|
|
|
Re: Edge Reconnection Tool [message #1769819 is a reply to message #1769756] |
Thu, 03 August 2017 12:33  |
Eclipse User |
|
|
|
Is the dependsOn reference is EOpposite of referencedBy? If this is the case why not set it in metamodel? It will simplify the reconnect tool.
For precision, the variable source corresponds to the source of the reconnect and the variable target corresponds to the target of the reconnect. For example, if you reconnect the edge from Model_2 to Model_3, Model_2 is the source and Model_3 is the target. In your case, I think you also need to use the variable otherend (see documentation https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#edge_tools).
|
|
|
Powered by
FUDForum. Page generated in 0.06591 seconds