Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2011-02-11 08:57:39 +0000
committervlorenzo2011-02-11 08:57:39 +0000
commitb37824f1435505156eb1aa3122cc5d085894ecb2 (patch)
treeb5beeb0e5dd4831b3c76153e91a15cac7b9c4577 /plugins/uml/org.eclipse.papyrus.diagram.common/plugin.xml
parentd589c5e7d03fcc4fd831fde6b89c60b28c6abe76 (diff)
downloadorg.eclipse.papyrus-b37824f1435505156eb1aa3122cc5d085894ecb2.tar.gz
org.eclipse.papyrus-b37824f1435505156eb1aa3122cc5d085894ecb2.tar.xz
org.eclipse.papyrus-b37824f1435505156eb1aa3122cc5d085894ecb2.zip
NEW bug - 317424: [General]Bind the org.eclipse.ui. keybindings and the shortcut written in the menus
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317424 Remove the keybindings provided by GMF : in the class UmlGmfDiagramEditors + in the class SymlDiagramEditor which doesn't have the same hierarchy that others diagrams Provides a handler for the rename action Write the keybinding with the rewritten command (Zoom In, Zoom Out) CTRL + DEL and DEL are yet done. Other GMF binding are removed
Diffstat (limited to 'plugins/uml/org.eclipse.papyrus.diagram.common/plugin.xml')
-rw-r--r--plugins/uml/org.eclipse.papyrus.diagram.common/plugin.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.diagram.common/plugin.xml b/plugins/uml/org.eclipse.papyrus.diagram.common/plugin.xml
index bf81d552cfe..6c5c0fda378 100644
--- a/plugins/uml/org.eclipse.papyrus.diagram.common/plugin.xml
+++ b/plugins/uml/org.eclipse.papyrus.diagram.common/plugin.xml
@@ -380,7 +380,7 @@
</visibleWhen>
</command>
- </menuContribution>
+ </menuContribution>
</extension>
<extension point="org.eclipse.ui.commands">
@@ -426,6 +426,10 @@
name="deleteInDiagram"
priorityLevel="workbench">
</variable>
+ <variable
+ name="renameNamedElement"
+ priorityLevel="workbench">
+ </variable>
</sourceProvider>
</extension>
<extension
@@ -460,6 +464,20 @@
</and>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.papyrus.diagram.common.handlers.RenamedElementHandler"
+ commandId="org.eclipse.ui.edit.rename">
+ <activeWhen>
+ <and>
+ <with
+ variable="renameNamedElement">
+ <equals
+ value="enabled">
+ </equals>
+ </with>
+ </and>
+ </activeWhen>
+ </handler>
</extension>
<extension
point="org.eclipse.papyrus.core.service">

Back to the top