Skip to content

Commit ca9962a

Browse files
committed
[135] Update spec for arrange border node of the selected element
Bug: eclipse-sirius/sirius-desktop#135
1 parent bdebad6 commit ca9962a

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

specs/proposal/135_arrange_port_selection/135.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,31 @@ _Relevant tickets_ :
1818
### User Interface
1919

2020
* Add entry `Arrange Linked Border Nodes of the Selection` in the arrange selection toolbar menu (fig. 1) and in `Layout` sub menu of contextual menu when there are an active selection (fig. 2).
21-
* Add checkbox entry `Consider Pin`, in the arrange toolbar menu, in the arrange selection toolbar menu (fig. 1) and in `Layout` sub menu of contextual menu (fig. 2).
21+
* Add checkbox entry `Move Pinned Elements`, in the arrange toolbar menu, in the arrange selection toolbar menu (fig. 1) and in `Layout` sub menu of contextual menu (fig. 2).
2222

2323
Figure 1:
24-
!toolbar_arrange_port.png!
24+
25+
![images/toolbar_arrange_port](images/toolbar_arrange_port.png)
2526

2627
Figure 2:
27-
!context_menu_consider_pin.png!
28+
29+
![images/context_menu_consider_pin](images/context_menu_consider_pin.png)
2830

2931
### Consider Pin behavior
3032

31-
* If `Consider Pin` is checked, the behavior of arrange remains the same as before, i.e. pinned element do not move or change size.
32-
* If `Consider Pin` is not checked, the behavior of arrange is the same as when all the elements are unpinned.
33+
* If `Move Pinned Elements` is not checked, the behavior of arrange remains the same as before, i.e. pinned element do not move or change size.
34+
* If `Move Pinned Elements` is checked, the behavior of arrange is the same as when all the elements are unpinned.
3335

3436
### Arrange Linked Border Nodes of the Selection behavior
3537

3638
The behavior is the same as `Arrange Linked Border Nodes` but with a different scope. The scope is all ports of all selected element.
3739

38-
For example in this diagram, if B is selected (in blue here), the port in green is arranged (1 port):
39-
!arrange_border_node_selection1.png!
40+
For example in this diagram, if B is selected (in blue here), the port in green are arranged (2 ports):
41+
42+
![images/arrange_border_node_selection1](images/arrange_border_node_selection1.png)
4043

4144
And if we add D to the selection (in blue here), the ports in green are arranged (5 ports):
42-
!arrange_border_node_selection2.png!
4345

44-
If port is pinned and `Consider Pin` is checked, the port is not arranged.
46+
![images/arrange_border_node_selection2](images/arrange_border_node_selection2.png)
47+
48+
If port is pinned and `Move Pinned Elements` is not checked, the port is not arranged.
1.77 KB
Loading
3.48 KB
Loading
5.75 KB
Loading
2.11 KB
Loading

0 commit comments

Comments
 (0)