| Summary: | key bindings of some debug actions might be broken | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | darin.eclipse, pwebster |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 300526 | ||
| Bug Blocks: | |||
|
Description
Dani Megert
All key bindings still work, however I found the following:
* key binding (Alt-Enter) does not display for the breakpoint properties action ("Properties...) in the contenxt menu in the Breakpoints view, but the key binding works
There is an object contribution action, associated command and key binding. Paul, do you know if there's something special debug needs to do to get the key binding to appear in the menu? (In reply to comment #2) > There is an object contribution action, associated command and key binding. Does the objectContribution/action specify the definitionId? PW Yes, I think it all aligns...
the object contribution:
...
<action
class="org.eclipse.jdt.internal.debug.ui.actions.JavaBreakpointPropertiesAction"
definitionId="org.eclipse.jdt.debug.ui.breakpoint.properties"
enablesFor="1"
helpContextId="breakpoint_properties_action_context"
id="org.eclipse.jdt.debug.ui.actions.JavaBreakpointProperties"
label="%JavaBreakpointProperties.label"
menubarPath="additions">
</action>
</objectContribution>
The command:
<command
categoryId="org.eclipse.debug.ui.category.run"
description="%ActionDefinition.breakpointproperties.description"
id="org.eclipse.jdt.debug.ui.breakpoint.properties"
name="%CommandDefinition.breakpointproperties.name">
</command>
The key:
<key
commandId="org.eclipse.jdt.debug.ui.breakpoint.properties"
contextId="org.eclipse.debug.ui.BreakpointView"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+ENTER">
</key>
(In reply to comment #1) > * key binding (Alt-Enter) does not display for the breakpoint properties action > ("Properties...) in the contenxt menu in the Breakpoints view, but the key > binding works This is an unrelated interaction between the same keys used in different contexts (well, displaying them in the menu since the key bindings themselves work fine). I've opened bug 308076 for that. PW Thanks Paul. Marking this bug as works for me since no changes were required in debug. |