Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Suen2011-05-19 15:17:25 +0000
committerRemy Suen2011-05-19 15:17:25 +0000
commitbb1ee9a34a492e2eeff89180db2db26f6733f99c (patch)
tree3e6a2c266ae3f69eac3efe952618bfc889a7acaa /bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
parent30969219cd7e796fda85b28d3a273d388e2ad209 (diff)
downloadeclipse.platform.ui-bb1ee9a34a492e2eeff89180db2db26f6733f99c.tar.gz
eclipse.platform.ui-bb1ee9a34a492e2eeff89180db2db26f6733f99c.tar.xz
eclipse.platform.ui-bb1ee9a34a492e2eeff89180db2db26f6733f99c.zip
Bug 320932 [Compatibility] Can't start Eclipse 4 SDK with proxy authentication
Diffstat (limited to 'bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java')
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
index 234e9c81bfe..0d46beabd8c 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
@@ -1138,6 +1138,12 @@ public final class Workbench extends EventManager implements IWorkbench {
return null;
}
+ // rendering engine not available, can't make workbench windows, see bug
+ // 320932
+ if (e4Context.get(IPresentationEngine.class) == null) {
+ return null;
+ }
+
MWindow activeWindow = application.getSelectedElement();
if (activeWindow == null && !application.getChildren().isEmpty()) {
activeWindow = application.getChildren().get(0);

Back to the top