Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2013-04-11 15:25:57 +0000
committerSopot Cela2013-04-11 15:25:57 +0000
commitb41dedbe1030c807304482647f7674c749366a32 (patch)
treeb87130cec64b653fc916f4551d7467bdfd3f847a
parent03a807d13f5fba4fbfbab11729a3a84a21863242 (diff)
downloadorg.eclipse.e4.tools-b41dedbe1030c807304482647f7674c749366a32.tar.gz
org.eclipse.e4.tools-b41dedbe1030c807304482647f7674c749366a32.tar.xz
org.eclipse.e4.tools-b41dedbe1030c807304482647f7674c749366a32.zip
Bug 394503 - Live Application Model Editor not usable
(InjectionException)
-rw-r--r--bundles/org.eclipse.e4.tools.emf.liveeditor/src/org/eclipse/e4/tools/emf/liveeditor/OpenLiveDialogHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.liveeditor/src/org/eclipse/e4/tools/emf/liveeditor/OpenLiveDialogHandler.java b/bundles/org.eclipse.e4.tools.emf.liveeditor/src/org/eclipse/e4/tools/emf/liveeditor/OpenLiveDialogHandler.java
index c825e8c5..8ddb090f 100644
--- a/bundles/org.eclipse.e4.tools.emf.liveeditor/src/org/eclipse/e4/tools/emf/liveeditor/OpenLiveDialogHandler.java
+++ b/bundles/org.eclipse.e4.tools.emf.liveeditor/src/org/eclipse/e4/tools/emf/liveeditor/OpenLiveDialogHandler.java
@@ -50,7 +50,7 @@ public class OpenLiveDialogHandler {
MemoryModelResource resource = new MemoryModelResource(application);
childContext.set(IModelResource.class, resource);
childContext.set(Composite.class.getName(), shell);
-
+ childContext.set(Shell.class.getName(), shell);
ContextInjectionFactory.make(ApplicationModelEditor.class, childContext);
// new ApplicationModelEditor(shell, childContext, resource, null);

Back to the top