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

Bug 498869

Summary: Edge with labels and connected ports compound moves
Product: [Modeling] Sirius Reporter: Steve Monnier <steve.monnier>
Component: DiagramAssignee: Steve Monnier <steve.monnier>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: normal    
Priority: P3 CC: julien.dupont
Version: 3.1.0Keywords: triaged
Target Milestone: 4.1.0   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/78130
https://git.eclipse.org/r/78372
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f02f5337550046848be1db718608e4e0eb2ca77f
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=fa2dac0c8f6efe071452a0d2265365f778bf8854
Whiteboard:
Attachments:
Description Flags
Validation sample none

Description Steve Monnier CLA 2016-07-29 05:32:38 EDT
This is the follow-up of bugzilla 471104 (allowing to move an edge with its source and target border node as a whole group) to extend the same functionality with a selection of several edges. Each edge group selected (edge, source and target) should move at once.
Comment 1 Steve Monnier CLA 2016-07-29 05:37:30 EDT
Steps to reproduce for validation:
- import the modeling project in attachment (or copy the 3 files from /org.eclipse.sirius.tests.swtbot/data/unit/moveEdgeGroup, in a modeling project).
- select edge1 and edge1bis
- hold the F3 key and move edge1 horizontally.
-> edge1bis should be moved as much as edge1
+ do the same scenario with zoom
+ do both scenarios with edge2 and edge2bis but vertically
Comment 2 Steve Monnier CLA 2016-07-29 05:39:24 EDT
Created attachment 263378 [details]
Validation sample
Comment 3 Eclipse Genie CLA 2016-07-29 05:58:28 EDT
New Gerrit change created: https://git.eclipse.org/r/78130
Comment 4 Eclipse Genie CLA 2016-08-03 03:24:09 EDT
New Gerrit change created: https://git.eclipse.org/r/78372
Comment 7 Steve Monnier CLA 2016-08-05 04:30:27 EDT
During validation, the feedback should be especially checked as it cannot be tested with JUnit/SWTBot. In particular, with a selection of edge group where there are sources/targets border node on the same parent, the feedback when moving over the former location of another source/target of the selection should be smooth.
Comment 8 Julien Dupont CLA 2016-08-26 11:41:06 EDT
Need to install test to validate ticket
Comment 9 Pierre-Charles David CLA 2016-10-18 11:09:06 EDT
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.