Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java')
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java3
1 files changed, 2 insertions, 1 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 0b751858a9b..965e682c6d5 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,7 +224,8 @@ public abstract class PartSite implements IWorkbenchPartSite {
* Initialize the local services.
*/
private void initializeDefaultServices() {
- IHandlerService handlerService = new LegacyHandlerService(e4Context);
+ IHandlerService handlerService = new LegacyHandlerService(e4Context,
+ new ActivePartExpression(part));
e4Context.set(IHandlerService.class.getName(), handlerService);
serviceLocator.registerService(IWorkbenchLocationService.class,

Back to the top