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

Bug 463485

Summary: Snap to all shapes
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: CLOSED FIXED QA Contact: Laurent Redor <laurent.redor>
Severity: enhancement    
Priority: P1 CC: florian.barbin, maxime.porhel, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/44668
https://git.eclipse.org/r/45451
https://git.eclipse.org/r/45516
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=675d9ba0452582adef2e559079379d962b63664c
https://git.eclipse.org/r/50543
https://git.eclipse.org/r/50821
https://git.eclipse.org/r/50879
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a37057c793aaa16273ca830340c7d5c655dfc399
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6c1e6980a73095c67de71c78e246582e6510095a
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=99616c78590a6f6d5f8eec8bd9249decce63b586
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ee6df4de0f805a88a73d05362b75343aebf406cf
https://git.eclipse.org/r/51723
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7ff5f696ee0d7ff7773d5723b08c18aa30f00faf
Whiteboard:

Description Laurent Redor CLA 2015-03-30 11:59:02 EDT
It is currently possible to activate the "Snap To Shapes" mode (Properties view on a diagram / tab "Rulers & Grid" / check box "Snap To Shapes"). This feature allows you to quickly align parts to other parts with the same container.

The goal of this new feature is to align parts to all parts of the diagram (not only with the same container). It is enabled by holding down a specific key during the move.
Comment 1 Maxime Porhel CLA 2015-04-07 04:42:52 EDT
Validation steps will have to be added during/after implementation.
Comment 2 Eclipse Genie CLA 2015-04-08 06:19:54 EDT
New Gerrit change created: https://git.eclipse.org/r/45451
Comment 3 Eclipse Genie CLA 2015-04-09 04:05:54 EDT
New Gerrit change created: https://git.eclipse.org/r/45516
Comment 6 Eclipse Genie CLA 2015-06-19 11:11:34 EDT
New Gerrit change created: https://git.eclipse.org/r/50543
Comment 7 Eclipse Genie CLA 2015-06-24 12:06:31 EDT
WARNING: this patchset contains 1717 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 8 Eclipse Genie CLA 2015-06-24 12:06:34 EDT
New Gerrit change created: https://git.eclipse.org/r/50821
Comment 9 Eclipse Genie CLA 2015-06-25 12:26:18 EDT
New Gerrit change created: https://git.eclipse.org/r/50879
Comment 14 Laurent Redor CLA 2015-07-06 04:47:45 EDT
Fix on Sirius 3.1 with above commits.
Comment 15 Eclipse Genie CLA 2015-07-10 08:19:04 EDT
New Gerrit change created: https://git.eclipse.org/r/51723
Comment 17 Florian Barbin CLA 2015-09-23 08:52:44 EDT
Verified with 3.1.0.201509211006
Comment 18 Pierre-Charles David CLA 2015-10-16 09:12:36 EDT
Available in Sirius 3.1.0.