Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Suen2012-03-07 15:57:37 +0000
committerRemy Suen2012-03-07 15:57:37 +0000
commite1b2a24fdb25939d58ec89391aa2580be2ce04dd (patch)
tree3bb36215771dbf92f8aecb1530808ac869e23044
parent844bbce93cf313a819b87c3ed48d1b5ff4a47e21 (diff)
downloadeclipse.platform.ui-e1b2a24fdb25939d58ec89391aa2580be2ce04dd.tar.gz
eclipse.platform.ui-e1b2a24fdb25939d58ec89391aa2580be2ce04dd.tar.xz
eclipse.platform.ui-e1b2a24fdb25939d58ec89391aa2580be2ce04dd.zip
Bug 373529 [Compatibility] IPageListener's pageOpened(*) is sent out toov20120307-1557I20120307-2200
early The WorkbenchActionBuilder doesn't get the pageOpened(*) event on startup. We should delay the firing of this event so that the notification gets received.
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
index c9fe156a893..9583c70796c 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
@@ -511,13 +511,13 @@ public class WorkbenchWindow implements IWorkbenchWindow {
ContextInjectionFactory.inject(page, model.getContext());
windowContext.set(IWorkbenchPage.class, page);
- firePageOpened();
menuManager.setOverrides(menuOverride);
((CoolBarToTrimManager) getCoolBarManager2()).setOverrides(toolbarOverride);
// Fill the action bars
fillActionBars(FILL_ALL_ACTION_BARS);
+ firePageOpened();
List<MPerspectiveStack> ps = modelService.findElements(model, null,
MPerspectiveStack.class, null);

Back to the top