Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java')
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java
index 87b4099a198..52f8e5e8400 100644
--- a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java
+++ b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/E4Application.java
@@ -211,6 +211,10 @@ public class E4Application implements IApplication {
});
appContext.set(IApplicationContext.class, applicationContext);
+ // This context will be used by the injector for its
+ // extended data suppliers
+ ContextInjectionFactory.setDefault(appContext);
+
// Check if DS is running
if (!appContext
.containsKey("org.eclipse.e4.ui.workbench.modeling.EPartService")) {
@@ -254,10 +258,6 @@ public class E4Application implements IApplication {
// Set the app's context after adding itself
appContext.set(MApplication.class.getName(), appModel);
- // This context will be used by the injector for its
- // extended data suppliers
- ContextInjectionFactory.setDefault(appContext);
-
// adds basic services to the contexts
initializeServices(appModel);

Back to the top