Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2007-11-08 15:52:25 -0500
committerSusan Franklin2007-11-08 15:52:25 -0500
commite822185b19df9f49fa754d455fa515c07506dfb6 (patch)
treed21e5becd8c952fa8a6447da057ce49bf1d3eeb3
parenta81373ebc9b6d5049e16349e7d49e2ac3854bcfb (diff)
downloadrt.equinox.p2-e822185b19df9f49fa754d455fa515c07506dfb6.tar.gz
rt.equinox.p2-e822185b19df9f49fa754d455fa515c07506dfb6.tar.xz
rt.equinox.p2-e822185b19df9f49fa754d455fa515c07506dfb6.zip
cleanup/doc
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.admin.rcp/src/org/eclipse/equinox/p2/ui/admin/rcp/ApplicationWorkbenchWindowAdvisor.java7
1 files changed, 3 insertions, 4 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 7216a9ca9..ff81fb715 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
@@ -27,14 +27,13 @@ public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
+ // The workbench progress manager won't get initialized until I refer to it.
+ // See https://bugs.eclipse.org/bugs/show_bug.cgi?id=208963
+ PlatformUI.getWorkbench().getProgressService();
configurer.setInitialSize(new Point(800, 600));
configurer.setShowCoolBar(false);
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