Bug 416115 - The extremity of the edge phantom should be attached to an other phantom and not to (0,0)
Summary: The extremity of the edge phantom should be attached to an other phantom and ...
Status: NEW
Alias: None
Product: EMFCompare
Classification: Modeling
Component: Diagram (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 04:03 EDT by Cedric Notot CLA
Modified: 2015-11-23 04:10 EST (History)
1 user (show)

See Also:


Attachments
data set (13.12 KB, application/x-zip-compressed)
2013-08-29 04:23 EDT, Cedric Notot CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Notot CLA 2013-08-29 04:03:19 EDT
In case where an edge has been deleted and one of its extremities has moved and the other extremity has been deleted, the computed phantom related to the edge is drawn from the moved node to (0,0) location. It should end to the phantom related to the deleted node.

In this context, an edit part is created for the edge phantom (in order to compute the line to draw to the new location for its extremity). The source edit part is retrieved from the GMF node but there is no target edit part to the deleted node (it does not exist anymore, replaced by a phantom (just a GEF figure)). So, the target extremity of the edge is located to (0,0) by default.

A GEF edit part has to be created. It will build an invisible figure with the same bounds of the target phantom and it will be attached to the edge phantom edit part (as target) in order that the edge be connect to the node phantom.
Comment 1 Cedric Notot CLA 2013-08-29 04:23:45 EDT
Created attachment 234903 [details]
data set
Comment 2 Mathieu Cartaud CLA 2015-11-23 04:10:26 EST
I can't reproduce. This issue seems to be already fixed