Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorl.ripeynih2013-03-13 09:03:45 -0400
committerLars Vogel2013-03-18 17:50:43 -0400
commit97cdb9aedc4fce32790668bb344d3fd798a7e5b5 (patch)
treeea3973e9393fedfbdb6a052953974e5d1e470e2d
parentd94be04547b2f6c757a9b2accea934f3ce6c0467 (diff)
downloadorg.eclipse.e4.tools-97cdb9aedc4fce32790668bb344d3fd798a7e5b5.tar.gz
org.eclipse.e4.tools-97cdb9aedc4fce32790668bb344d3fd798a7e5b5.tar.xz
org.eclipse.e4.tools-97cdb9aedc4fce32790668bb344d3fd798a7e5b5.zip
Bug 388635
creates an id for handlers following the pattern: <project_name>.handler.<commad_name> Change-Id: I22e7e39c0780a57c5b3edabaec3b47e199bac5a1
-rw-r--r--bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/E4NewProjectWizard.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/E4NewProjectWizard.java b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/E4NewProjectWizard.java
index 6179a319..e061decc 100644
--- a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/E4NewProjectWizard.java
+++ b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/E4NewProjectWizard.java
@@ -670,7 +670,8 @@ public class E4NewProjectWizard extends NewPluginProjectWizard {
+ "handlers." + className);
handler.setElementId(projectName + ".handler." + name);
application.getHandlers().add(handler);
-
+
+ // create binding for the command
MKeyBinding binding = MCommandsFactory.INSTANCE.createKeyBinding();
binding.setKeySequence(keyBinding);
binding.setCommand(command);

Back to the top