commit | b517497f1691ea81a9d3181445d4f8d72be33309 | [log] [tgz] |
---|---|---|
author | Paul Webster <pwebster@ca.ibm.com> | Thu Sep 06 08:00:42 2012 -0400 |
committer | Paul Webster <pwebster@ca.ibm.com> | Thu Sep 06 08:00:42 2012 -0400 |
tree | d9c85ed56bea714efeab4bb3ebe88be447792e9e | |
parent | dd5d2c356e03b0723a1b36e0f541d33194599aef [diff] |
Bug 388931 - [QuickAccess] Copy Qualified Name doesn't work The lookup context needs to be off of the active leaf, or editor based contributions won't be handled correctly.
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 6208f30..854c748 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
@@ -541,7 +541,7 @@ // populated by parameters by the EHS staticContext = ((ExpressionContext) context).eclipseContext.createChild(); } else { - staticContext = eclipseContext.createChild("snapshotContext"); //$NON-NLS-1$ + staticContext = eclipseContext.getActiveLeaf().createChild("snapshotContext"); //$NON-NLS-1$ if (event != null) { staticContext.set(Event.class, event); }