aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-03-05 08:24:47 (EST)
committerEric Moffatt2014-03-10 11:00:16 (EDT)
commitb20df982add55483c95e33f97d29807712ccae1c (patch)
tree36697edf1976bf83c56ce943cae97cd83b797d3f
parent74fd99e788df5a0366286b6b72682b71cbe7a990 (diff)
downloadeclipse.platform.ui-b20df982add55483c95e33f97d29807712ccae1c.zip
eclipse.platform.ui-b20df982add55483c95e33f97d29807712ccae1c.tar.gz
eclipse.platform.ui-b20df982add55483c95e33f97d29807712ccae1c.tar.bz2
Bug 398666 - partOpened not called for views in default Perspective whenrefs/changes/31/22931/5
welcome view opens first Make sure the page is set in the part service before we start firing events. Change-Id: Ied8c9d3a7282f1bed6f8f36816bc5c7adac51381 Signed-off-by: Wojciech Sudol <wojciech.sudol@pl.ibm.com>
-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 ab1de9d..2f4976f 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
@@ -706,6 +706,7 @@ public class WorkbenchWindow implements IWorkbenchWindow {
eventBroker.subscribe(UIEvents.UIElement.TOPIC_WIDGET, windowWidgetHandler);
boolean newWindow = setupPerspectiveStack(windowContext);
+ partService.setPage(page);
page.setPerspective(perspective);
firePageActivated();
@@ -714,7 +715,6 @@ public class WorkbenchWindow implements IWorkbenchWindow {
} else {
page.updatePerspectiveActionSets();
}
- partService.setPage(page);
updateActionSets();
IPreferenceStore preferenceStore = PrefUtil.getAPIPreferenceStore();