aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhongwei Zhao2012-11-21 15:47:18 (EST)
committerMike Rennie2012-11-21 15:49:47 (EST)
commit3744dfe5df24a5a197de62bc92ce4d79da94a714 (patch)
treec63ebde5390c975f375638fe7db4bc8869fe7537
parentb92fc33ee2d839a67bac5179783733e64ecea97b (diff)
downloadeclipse.platform.ui-3744dfe5df24a5a197de62bc92ce4d79da94a714.zip
eclipse.platform.ui-3744dfe5df24a5a197de62bc92ce4d79da94a714.tar.gz
eclipse.platform.ui-3744dfe5df24a5a197de62bc92ce4d79da94a714.tar.bz2
Bug 379495 - Two "Run" on top menu
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java3
1 files changed, 2 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 3a0ea29..7c3ad5a 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
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Zhongwei Zhao - Bug 379495 - Two "Run" on top menu
*******************************************************************************/
package org.eclipse.ui.internal;
@@ -548,7 +549,6 @@ public class WorkbenchWindow implements IWorkbenchWindow {
}
}
}
- page.setPerspective(perspective);
populateTopTrimContributions();
populateBottomTrimContributions();
@@ -612,6 +612,7 @@ public class WorkbenchWindow implements IWorkbenchWindow {
eventBroker.subscribe(UIEvents.UIElement.TOPIC_WIDGET, windowWidgetHandler);
+ page.setPerspective(perspective);
firePageActivated();
if (newWindow) {
page.fireInitialPartVisibilityEvents();