Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Suen2012-03-01 16:41:46 +0000
committerRemy Suen2012-03-01 16:41:46 +0000
commit53dbd3380d9e134699d650c65e9b1062886d0332 (patch)
tree6ccc34f94b60c5ddb74b5bb7db19b28f4c28178a
parent5e990a6d8eb60055fcd0701498d8d4f3fb0479e2 (diff)
downloadeclipse.platform.ui-53dbd3380d9e134699d650c65e9b1062886d0332.tar.gz
eclipse.platform.ui-53dbd3380d9e134699d650c65e9b1062886d0332.tar.xz
eclipse.platform.ui-53dbd3380d9e134699d650c65e9b1062886d0332.zip
Bug 366568 [Compatibility] command service refreshElements(*) not
implemented Fix a bad copy/paste error.
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandServiceFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandServiceFactory.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandServiceFactory.java
index dedc469810c..2734ecbe922 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandServiceFactory.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandServiceFactory.java
@@ -73,7 +73,7 @@ public class CommandServiceFactory extends AbstractServiceFactory {
}
IServiceLocator mpepSite = wls.getMultiPageEditorSite();
if (mpepSite != null) {
- MContext context = (MContext) pageSite.getService(MContext.class);
+ MContext context = (MContext) mpepSite.getService(MContext.class);
if (context == null) {
return new SlaveCommandService((ICommandService) parent,
IServiceScopes.MPESITE_SCOPE, mpepSite);

Back to the top