Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Suen2011-07-19 17:13:54 +0000
committerPaul Webster2011-08-25 14:21:55 +0000
commit95750d7e16ba1fb2b1950c8e1b323ce955f684fa (patch)
tree1b21ff8f66d54b3a3c4d6c7cce16665ffe4c7dee
parentc0525e2445aeb13c6035781cd200afd719f50169 (diff)
downloadeclipse.platform.ui-95750d7e16ba1fb2b1950c8e1b323ce955f684fa.tar.gz
eclipse.platform.ui-95750d7e16ba1fb2b1950c8e1b323ce955f684fa.tar.xz
eclipse.platform.ui-95750d7e16ba1fb2b1950c8e1b323ce955f684fa.zip
Bug 352462 [Compatibility] F1 does nothing in the 'Git Staging' view
The 'Git Staging' view as-is does not provide any contextual help. In 3.x, hitting the F1 key will bring up the help for the workbench window instead. To get the same behaviour in 4.x we need to hook up the contextual help to the workbench window's shell so that hitting F1 in the view will get the 'Help' view to show the same content it is showing in 3.x.
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java1
1 files changed, 1 insertions, 0 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 6151b6df7d1..a5634800156 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
@@ -582,6 +582,7 @@ public class WorkbenchWindow implements IWorkbenchWindow {
partService.setPage(page);
getShell().setData(this);
+ workbench.getHelpSystem().setHelp(getShell(), IWorkbenchHelpContextIds.WORKBENCH_WINDOW);
trackShellActivation();
}

Back to the top