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

Bug 520521

Summary: The "straighten to" edge actions should be available if at least one object of the selection is an edge
Product: [Modeling] Sirius Reporter: Pierre Guilet <pierre.guilet>
Component: DiagramAssignee: Pierre Guilet <pierre.guilet>
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/102869
https://git.eclipse.org/r/102954
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7affc3e2877e785690d7b3020e2e792d0d90f74f
https://git.eclipse.org/r/103313
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5d0b9c67f864cd74540012678b899761c8c688ad
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=b5adcd991ada8dd9924fe0de9c8fe35bf1cd1f82
Whiteboard:

Description Pierre Guilet CLA 2017-08-03 09:48:56 EDT
Currently, when the straighten to actions are available only when one or many edges are selected in a diagram.

This behaviour prevents from using the action if some edge are selected as well as another element like the edge label.

It can be difficult to detect visually that an edge and its label are both selected leading to incomprehension for user that these actions cannot be used.

A  better behaviour would be to always show these actions when at least one edge is selected.

Then the straighten to action used will apply on all valid edges selected and will ignore other elements.
Comment 1 Eclipse Genie CLA 2017-08-10 08:31:47 EDT
New Gerrit change created: https://git.eclipse.org/r/102869
Comment 2 Eclipse Genie CLA 2017-08-11 08:23:49 EDT
New Gerrit change created: https://git.eclipse.org/r/102954
Comment 4 Eclipse Genie CLA 2017-08-18 11:36:51 EDT
New Gerrit change created: https://git.eclipse.org/r/103313
Comment 7 Pierre-Charles David CLA 2017-11-08 03:36:56 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.