Bug 193670

Summary: [Commands] org.eclipse.ui.commands/command extension point should define default contextId
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2007-06-21 04:44:11 EDT
I20070615-1200

When I add a keybinding for an unbound command on the Keys preference page, the context is always "In Windows". However, many commands only make sense in restricted contexts, e.g. "Cut Line" will only work in "Editing Text".

If the org.eclipse.ui.commands/command extension point had a contextId or defaultContextId attribute, the When field in the dialog could be initialized with this context when the user adds a new binding.

command/contextId should default to org.eclipse.ui.contexts.window.
org.eclipse.ui.bindings/key/contextId could then default to the contextId of the the referenced command.
Comment 1 Paul Webster CLA 2009-03-02 11:41:16 EST
Updated as per http://wiki.eclipse.org/Platform_UI/Bug_Triage
PW
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:06:52 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.