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

Bug 431035

Summary: Enable snap to shape by default in Sirius diagram
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: florian.barbin
Version: 0.9Keywords: triaged
Target Milestone: 2.0.0   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443385
https://bugs.eclipse.org/bugs/show_bug.cgi?id=446409
Whiteboard:

Description Laurent Redor CLA 2014-03-24 12:00:45 EDT
I think, it's a good idea to enable "snap to shape" by default in Sirius diagram. If some users want to disable it, they can modify the corresponding preference in "Sirius/Sirius Diagram/Rulers And Grid/Snap to shape for new diagrams".
Comment 1 Laurent Redor CLA 2014-03-24 12:09:05 EDT
There will probably be specific cases for sequence diagrams, as said in the documentation: "...IMPORTANT WARNING: To work correctly, Sirius sequence diagrams must have a tight control on where the graphical elements are placed on the diagram and on their synchronization with the underlying semantic model. This means that to use sequence diagrams you must:
* Disable the Snap to Grid behavior. For an existing diagram, this is available in the Rulers & Grid section of the Properties view when the diagram itself is selected. You can also disable it for all future diagrams in the preferences: Sirius > Sirius Diagram > Rulers and Grid, un-check the Snap to grid for new diagrams check box."
Comment 2 Laurent Redor CLA 2014-09-04 05:20:34 EDT
A patch is available here: https://git.eclipse.org/r/32845
Comment 4 Pierre-Charles David CLA 2014-10-27 06:52:13 EDT
Available in Sirius 2.0.0.