diff options
| author | Laurent Redor | 2016-08-10 08:57:45 +0000 |
|---|---|---|
| committer | Laurent Redor | 2016-08-10 09:53:11 +0000 |
| commit | f11918d6c2bddd2c72e5f28f8d6a4ca68bfe7538 (patch) | |
| tree | c7c89abaa856a8742042d8e52c1f881c87385d0b | |
| parent | b44765d8042baf16a25849977dfbd13f99d18e1e (diff) | |
| download | org.eclipse.sirius-f11918d6c2bddd2c72e5f28f8d6a4ca68bfe7538.tar.gz org.eclipse.sirius-f11918d6c2bddd2c72e5f28f8d6a4ca68bfe7538.tar.xz org.eclipse.sirius-f11918d6c2bddd2c72e5f28f8d6a4ca68bfe7538.zip | |
[444569] Change shortcut for "Reset Origin" action
The shortcut "Ctrl+&" is not displayed on Windows menu (only "Ctrl+" is
displayed). So the shortcut has been replaced by "Ctrl+HOME".
Bug: 444569
Change-Id: I161a69ad0f9422dc263f76ebdfaf6925c1420ed1
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
5 files changed, 14 insertions, 6 deletions
diff --git a/plugins/org.eclipse.sirius.diagram.ui/plugin.xml b/plugins/org.eclipse.sirius.diagram.ui/plugin.xml index bf42015e4f..f1d0653e40 100644 --- a/plugins/org.eclipse.sirius.diagram.ui/plugin.xml +++ b/plugins/org.eclipse.sirius.diagram.ui/plugin.xml @@ -1022,7 +1022,7 @@ commandId="org.eclipse.sirius.diagram.ui.resetOrigin" contextId="org.eclipse.sirius.diagram.ui.diagramContext" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" - sequence="M1+&"> + sequence="M1+HOME"> </key> </extension> diff --git a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html index 26e183d369..ca15c0ba6d 100644 --- a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html +++ b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.html @@ -118,6 +118,13 @@ <a href="./user/diagrams/Diagrams.html#zooming_diagram_id">user documentation</a> . </li> <li><span class="label label-info">Modified</span> The direct edit on a Note or Text is now accessible by a slow double click like any other diagram element.</li> + <li><span class="label label-info">Modified</span> The shortcut + <em>Ctrl+&</em>, for + <a href="./user/diagrams/Diagrams.html#reset_origin"> + <em>Reset Origin</em> + </a> action, has been replaced by + <em>Ctrl+HOME</em>. + </li> </ul> <h3 id="SpecifierVisibleChanges">Specifier-Visible Changes</h3> <ul> diff --git a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile index 1325b18c41..201721f39c 100644 --- a/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile +++ b/plugins/org.eclipse.sirius.doc/doc/Release_Notes.textile @@ -15,6 +15,7 @@ If a viewpoint has been defined with a more recent version of Sirius than the o * <span class="label label-info">Modified</span> The "move edge group":./user/diagrams/Diagrams.html#move_edge_group feature now also work for a selection of edge group. * <span class="label label-info">Modified</span> In a diagram editor, the zoom with mouse wheel is now zooming on mouse location instead of center of the editor. See "user documentation":./user/diagrams/Diagrams.html#zooming_diagram_id . * <span class="label label-info">Modified</span> The direct edit on a Note or Text is now accessible by a slow double click like any other diagram element. +* <span class="label label-info">Modified</span> The shortcut _Ctrl+&_, for "_Reset Origin_":./user/diagrams/Diagrams.html#reset_origin action, has been replaced by _Ctrl+HOME_. h3. Specifier-Visible Changes diff --git a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html index 7918f7a24d..7ffacaf282 100644 --- a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html +++ b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html @@ -44,7 +44,7 @@ <a href="#distribute">Distribute elements</a> </li> <li> - <a href="#ResetDiagramorContainerOrigin">Reset Diagram or Container Origin</a> + <a href="#reset_origin">Reset Diagram or Container Origin</a> </li> <li> <a href="#Hidingelements">Hiding elements</a> @@ -395,8 +395,8 @@ <li>the first shape is the highest one (with its center at the minimum y coordinate). If several shapes are aligned on middle, the leftmost one is the first.</li> <li>the last shape is the lowest one (with the bottom side with the maximum y coordinate). If several shapes are aligned by middle, the rightmost one is the last.</li> </ul> - <h3 id="ResetDiagramorContainerOrigin">Reset Diagram or Container Origin</h3> - <p>This action is available within the diagram or containers contextual menu (“Reset Origin”) or via “M1” + “&” shortcut. + <h3 id="reset_origin">Reset Diagram or Container Origin</h3> + <p>This action is available within the diagram or containers contextual menu (“Reset Origin”) or via “M1” + “HOME” shortcut. <br/>The diagram (or container) bounds (the rectangle formed by the highest, the leftmost, the lowest and the rightmost elements) can have a negative origin or can be shifted toward the bottom-right with a blank zone at the top-left. <br/>This action aims to move all diagram (or container) elements so that the diagram (or container) retrieves its origin while keeping the element layout. </p> diff --git a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile index 77e8e44086..de252fe6b5 100644 --- a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile +++ b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile @@ -216,9 +216,9 @@ For vertical centered distribution: * the first shape is the highest one (with its center at the minimum y coordinate). If several shapes are aligned on middle, the leftmost one is the first. * the last shape is the lowest one (with the bottom side with the maximum y coordinate). If several shapes are aligned by middle, the rightmost one is the last. -h3. Reset Diagram or Container Origin +h3(#reset_origin). Reset Diagram or Container Origin -This action is available within the diagram or containers contextual menu ("Reset Origin") or via "M1" + "&" shortcut. +This action is available within the diagram or containers contextual menu ("Reset Origin") or via "M1" + "HOME" shortcut. The diagram (or container) bounds (the rectangle formed by the highest, the leftmost, the lowest and the rightmost elements) can have a negative origin or can be shifted toward the bottom-right with a blank zone at the top-left. This action aims to move all diagram (or container) elements so that the diagram (or container) retrieves its origin while keeping the element layout. |
