Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 505731

Summary: Straighten an edge between 2 border nodes with centered constraint
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED FIXED QA Contact: Pierre Guilet <pierre.guilet>
Severity: normal    
Priority: P3 CC: julien.dupont, pierre-charles.david
Version: 4.1.0Keywords: triaged
Target Milestone: 4.1.1   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
StraightenToProject.zip none

Description Laurent Redor CLA 2016-10-11 12:25:40 EDT
Created attachment 264781 [details]
StraightenToProject.zip

This bug is here to deal with the problem of bug 499991 comment 17. As explained in bug 499991 comment 22, it was not correctly fixed in Sirius 4.1.0.

Steps to reproduce (with "org.eclipse.sirius.tests.sample.migration" metamodel available here [1]):
* Open the project "StraightenTo" from "StraightenToProject.zip"
* Open the diagram "new useCase"
* Select the edge "edge9"
* Launch the action "Layout/Straiten/To left"
*The edge should be straighten, the border node "bn10" should be moved, the edge should target the center of border node "bn10" and the center of border node "bn9".*

[1] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.tests.sample.migration
Comment 2 Pierre-Charles David CLA 2016-10-26 04:29:14 EDT
Available in Sirius 4.1.1, see https://wiki.eclipse.org/Sirius/4.1.1