Community
Participate
Working Groups
Currently, the align actions and distribute actions are available on shapes. The goal of the issue is to have a similar behavior for these actions on labels of edges.
The specification for this issue is available here [1] and a gerrit concerning a DRAFT of work done during analysis is available here [2]. [1] https://github.com/eclipse-sirius/sirius-specs/blob/lre/spec/580418-alignAndDistributeEdgeLabels/specs/proposal/580418_addAlignAndDistributeToEdgeLabels/580418_addAlignAndDistributeToEdgeLabels.md [2] https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/69304
Created attachment 288940 [details] Bugzilla580418.zip Steps to validate (the automatic tests will be more comprehensive): * Import project "Bugzilla580418" from Bugzilla580418.zip * Open session "edgeLabelAlignTest" * Open diagram "3LabelsOnEdge" * Select labels "startc03toC01" and "startc02toC01" (in this specific order) * Launch action "Align Left" (with the 3 ways: tabbar menu, action in contextual menu "Format/Align/Left" and Eclipse menu "Diagram/Align/Left") * Expected: The label "startc02toC01" doesn't move (this is the reference), and the left side of label "startc03toC01" is aligned to left side of the label "startc02toC01". * Undo (and restart with all ways) * Select labels "startc02toC01" and "startc03toC01" (in this specific order) * Launch action "Align Center" with the tabbar menu * Expected: The label "startc03toC01" don't move (this is the reference), and the horizontal center of label "startc02toC01" is aligned to center of the label "startc02toC01". * Undo * Select labels "startc03toC01", "c03toC01" and "endc03toC01" * Launch action "Distibute Centers Horizontally" (with the 3 ways: tabbar menu, action in contextual menu "Format/Distribute/Centers Horizontally" and Eclipse menu "Diagram/Distribute/Centers Horizontally") * Expected: The labels "startc03toC01" and "endc03toC01" don't move (these are the references), and the label "c03toC01" is moved between the two others.
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/199599
Gerrit change https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/69304 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ed6f64c87c94ecf545fc09ada63edfc85a06ebf2
Available in Sirius Desktop 7.1.0: - Release record: https://projects.eclipse.org/projects/modeling.sirius/releases/sirius-desktop-7.1.0 - Update site: https://download.eclipse.org/sirius/updates/releases/7.1.0/2021-06/
https://projects.eclipse.org/projects/modeling.sirius/releases/sirius-desktop-7.1.0