Bug 431035 - Enable snap to shape by default in Sirius diagram
Summary: Enable snap to shape by default in Sirius diagram
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 0.9   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.0.0   Edit
Assignee: Laurent Redor CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-03-24 12:00 EDT by Laurent Redor CLA
Modified: 2014-10-27 06:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.