summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorRemy Suen2011-08-22 14:49:04 (EDT)
committer Paul Webster2011-08-25 10:22:06 (EDT)
commit1e6f51ebfbfd0adbab82499125af10731ab01100 (patch)
treeab09b1f0585f6b6c373dce28ed54dc9bbd4e1cfc
parent53e80f74fb7384191e67425d750789872d543f70 (diff)
downloadeclipse.platform.ui-1e6f51ebfbfd0adbab82499125af10731ab01100.zip
eclipse.platform.ui-1e6f51ebfbfd0adbab82499125af10731ab01100.tar.gz
eclipse.platform.ui-1e6f51ebfbfd0adbab82499125af10731ab01100.tar.bz2
Revert unintentional code changes
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java3
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java6
2 files changed, 1 insertions, 8 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java
index 965e682..0b75185 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java
@@ -224,8 +224,7 @@ public abstract class PartSite implements IWorkbenchPartSite {
* Initialize the local services.
*/
private void initializeDefaultServices() {
- IHandlerService handlerService = new LegacyHandlerService(e4Context,
- new ActivePartExpression(part));
+ IHandlerService handlerService = new LegacyHandlerService(e4Context);
e4Context.set(IHandlerService.class.getName(), handlerService);
serviceLocator.registerService(IWorkbenchLocationService.class,
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java
index b469de9..bd7fc74 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/LegacyHandlerService.java
@@ -253,12 +253,6 @@ public class LegacyHandlerService implements IHandlerService {
}
}
- public LegacyHandlerService(IEclipseContext context, Expression defaultExpression) {
- eclipseContext = context;
- evalContext = new ExpressionContext(eclipseContext);
- this.defaultExpression = defaultExpression;
- }
-
/*
* (non-Javadoc)
*