Bug 510097 - Edge creation tool problem when source/target order is not the same as the corresponding mapping
Summary: Edge creation tool problem when source/target order is not the same as the co...
Status: ASSIGNED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 4.1.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Laurent Redor CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-01-09 07:02 EST by Laurent Redor CLA
Modified: 2022-07-20 05:53 EDT (History)
1 user (show)

See Also:


Attachments
InverseEdgeCreationTool.zip (3.49 KB, application/x-zip-compressed)
2017-01-09 07:02 EST, Laurent Redor CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Redor CLA 2017-01-09 07:02:03 EST
Created attachment 266182 [details]
InverseEdgeCreationTool.zip

When you create an edge between a source node and a target node, the edge respects the click locations. But this is not the case if the tool does not use the same order for source and target as the corresponding mapping.

Steps to reproduce:
* Imports InverseEdgeCreationTool from InverseEdgeCreationTool.zip
* Open the diagram "new MyDiag"
* Use the tool "New eReference", click on the bottom left corner of C1 and then on the upper right corner of C2. OK: The edge is created bewteen the bottom left corner of C1 and the upper right corner of C2.
* Use the tool "New inverse eReference", click on the upper right corner of C4 and then on the bottom left corner of C3. The expected result is the same as between C1 and C2.
KO: The edge is created bewteen the bottom center of C3 and the upper center of C4.

This problem has been discovered during the analysis of bug 495659.
Comment 1 Eclipse Genie CLA 2017-01-10 11:43:09 EST
New Gerrit change created: https://git.eclipse.org/r/88386