diff options
author | Yuri Strot | 2014-11-24 13:32:47 +0000 |
---|---|---|
committer | Yuri Strot | 2014-11-24 13:32:47 +0000 |
commit | cfe0fc3e775a68cb02cd5b1293d6cab41f9dc555 (patch) | |
tree | e290b0f88c76fdeb933dcc5cd90202175662e8a1 | |
parent | 4ed0079027a9aba16082ecabce022caf72f118ec (diff) | |
download | org.eclipse.papyrus-cfe0fc3e775a68cb02cd5b1293d6cab41f9dc555.tar.gz org.eclipse.papyrus-cfe0fc3e775a68cb02cd5b1293d6cab41f9dc555.tar.xz org.eclipse.papyrus-cfe0fc3e775a68cb02cd5b1293d6cab41f9dc555.zip |
Bug 431152 - [Class Diagram] Wrong shortcut for Select All action on Mac
Change-Id: I92ea87718a06228e818da18e2031adbcf30d4482
Signed-off-by: Yuri Strot <montages.ys@gmail.com>
-rw-r--r-- | plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml index b935c20de16..6cb8bff4818 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml @@ -50,7 +50,7 @@ label="Se&lect" tooltip="Select Menu"> <command - commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllCommand" + commandId="org.eclipse.ui.edit.selectAll" icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif" id="org.eclipse.papyrus.uml.diagram.ui.popupmenu.select.all" label="&All" @@ -483,7 +483,7 @@ <menuContribution locationURI="menu:org.eclipse.papyrus.menu.select.toolbar.command"> <command - commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllCommand" + commandId="org.eclipse.ui.edit.selectAll" icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif" label="Select &All" style="push" @@ -1058,7 +1058,7 @@ label="Se&lect" tooltip="Select Menu"> <command - commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllCommand" + commandId="org.eclipse.ui.edit.selectAll" icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui.actions/icons/elcl16/selectall.gif" label="&All" style="push" @@ -2710,12 +2710,6 @@ </command> <command categoryId="org.eclipse.papyrus.editor.category" - description="The command to select all elements" - id="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllCommand" - name="Select All Command"> - </command> - <command - categoryId="org.eclipse.papyrus.editor.category" description="The command to select all shapes" id="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllShapesCommand" name="Select All Shapes Command"> @@ -3084,10 +3078,10 @@ sequence="CTRL+="> </key> <key - commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllCommand" + commandId="org.eclipse.ui.edit.selectAll" contextId="org.eclipse.gmf.runtime.diagram.ui.diagramContext" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" - sequence="CTRL+A"> + sequence="M1+A"> </key> <key commandId="org.eclipse.papyrus.uml.diagram.menu.commands.ZoomInCommand" @@ -3352,13 +3346,32 @@ </class> </handler> <handler - commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllCommand"> + commandId="org.eclipse.ui.edit.selectAll"> <class class="org.eclipse.papyrus.uml.diagram.menu.actions.handlers.SelectHandler"> <parameter name="select_parameter" value="selectAll"> </parameter></class> + <activeWhen> + <and> + <with + variable="activeContexts"> + <test + property="org.eclipse.papyrus.infra.gmfdiag.common.diagram.context.tester.isGmfDiagramContextActive" + value="true"> + </test> + </with> + <with + variable="selection"> + <test + forcePluginActivation="true" + property="org.eclipse.papyrus.infra.gmfdiag.common.diagram.tester.isDiagramEditor" + value="true"> + </test> + </with> + </and> + </activeWhen> </handler> <handler commandId="org.eclipse.papyrus.uml.diagram.menu.commands.SelectAllShapesCommand"> |