Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2007-10-31 17:14:02 -0400
committerSusan Franklin2007-10-31 17:14:02 -0400
commita326accea9259f6c2fde22a21d291eb215366b4d (patch)
tree8255537084ca5ba4182add4aa1cc98423dcd7c14 /bundles/org.eclipse.equinox.p2.ui.admin.rcp/src
parentb736426af256a4a91ef9429d2c496648668998ff (diff)
downloadrt.equinox.p2-a326accea9259f6c2fde22a21d291eb215366b4d.tar.gz
rt.equinox.p2-a326accea9259f6c2fde22a21d291eb215366b4d.tar.xz
rt.equinox.p2-a326accea9259f6c2fde22a21d291eb215366b4d.zip
Bug 207976 - [prov] Installation does not fail when artifacts are missingv20071031-1750
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui.admin.rcp/src')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.admin.rcp/src/org/eclipse/equinox/p2/ui/admin/rcp/ApplicationWorkbenchWindowAdvisor.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.admin.rcp/src/org/eclipse/equinox/p2/ui/admin/rcp/ApplicationWorkbenchWindowAdvisor.java b/bundles/org.eclipse.equinox.p2.ui.admin.rcp/src/org/eclipse/equinox/p2/ui/admin/rcp/ApplicationWorkbenchWindowAdvisor.java
index 28921e22e..7216a9ca9 100644
--- a/bundles/org.eclipse.equinox.p2.ui.admin.rcp/src/org/eclipse/equinox/p2/ui/admin/rcp/ApplicationWorkbenchWindowAdvisor.java
+++ b/bundles/org.eclipse.equinox.p2.ui.admin.rcp/src/org/eclipse/equinox/p2/ui/admin/rcp/ApplicationWorkbenchWindowAdvisor.java
@@ -12,6 +12,7 @@ package org.eclipse.equinox.p2.ui.admin.rcp;
import org.eclipse.equinox.internal.p2.ui.admin.rcp.ProvAdminUIMessages;
import org.eclipse.swt.graphics.Point;
+import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.application.*;
public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
@@ -31,5 +32,9 @@ public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
configurer.setShowStatusLine(false);
configurer.setShowProgressIndicator(true);
configurer.setTitle(ProvAdminUIMessages.ApplicationWindowTitle);
+ // The workbench progress manager won't get initialized until I refer to it.
+ // Refer to it so that jobs will get their fail cases reported by the progress service.
+ // TODO open a platform UI bug since this relies on a side effect
+ PlatformUI.getWorkbench().getProgressService();
}
}

Back to the top