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

Bug 518136

Summary: Enable action to remove bendpoints of rectilinear edge.
Product: [Modeling] Sirius Reporter: Jessy Mallet <jessy.mallet>
Component: DiagramAssignee: Jessy Mallet <jessy.mallet>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: enhancement    
Priority: P3 CC: julien.dupont, laurent.redor
Version: 5.0.0Keywords: triaged
Target Milestone: 5.1.0   
Hardware: PC   
OS: Windows NT   
See Also: https://git.eclipse.org/r/99198
https://git.eclipse.org/r/99331
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a13ad58bbfd93f6c7cfca7d7415a95fbbac1cd2b
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=33a7914d5dd1dbca589c28128254c0ecaa200e00
Whiteboard:
Bug Depends on:    
Bug Blocks: 576105, 576138    
Attachments:
Description Flags
Test case to use. none

Description Jessy Mallet CLA 2017-06-12 11:22:41 EDT
The end user may have created different "bend points" on an rectilinear edge.
He may want to restore this edge as short as possible. 

This enhancement aims to enable the action that will remove bend points of a specific edge with rectilinear style routing.
Comment 1 Eclipse Genie CLA 2017-06-13 03:41:47 EDT
New Gerrit change created: https://git.eclipse.org/r/99198
Comment 2 Jessy Mallet CLA 2017-06-20 04:16:33 EDT
Created attachment 268967 [details]
Test case to use.
Comment 3 Jessy Mallet CLA 2017-06-20 04:16:51 EDT
Steps to reproduce:

* import in your workspace the modeling project RectilinearEdge.zip,
* open diagrams "new ClassDiag",
* Right click on rectilinear edge between C1 and C0 and choose "Remove BendPoints",
* The edge should be transformed in 3 segments edge with the second segment in te middle between source and target connection ,
* Right click on rectilinear edge between C2 and C3 and choose "Remove BendPoints",
* The edge should be transformed in 2 segments edge,
* open diagrams "new packageDiag",
* Right click on rectilinear edge between C1 and C0 and choose "Remove BendPoints",
* The edge should be transformed in 2 segments edge,
* Right click on rectilinear edge between C2 and C3 and choose "Remove BendPoints",
* The edge should be transformed in 3 segments edge with the second segment in te middle of source and target connection.
Comment 4 Laurent Redor CLA 2017-06-27 06:04:05 EDT
New gerrit change created: https://git.eclipse.org/r/#/c/99331
Comment 7 Pierre-Charles David CLA 2017-11-08 03:37:38 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.