diff options
author | Pawel Piech | 2011-10-19 20:42:14 +0000 |
---|---|---|
committer | Pawel Piech | 2011-10-19 20:42:14 +0000 |
commit | 32e85a04193f7df1307c13eec1b647654bb26cef (patch) | |
tree | bf8751a8acd4c48146405b716f7d21ee6b9e0c0b /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions | |
parent | bbcd99a0bd3a04f25d41811271464ef4ad972501 (diff) | |
download | eclipse.platform.debug-32e85a04193f7df1307c13eec1b647654bb26cef.tar.gz eclipse.platform.debug-32e85a04193f7df1307c13eec1b647654bb26cef.tar.xz eclipse.platform.debug-32e85a04193f7df1307c13eec1b647654bb26cef.zip |
Bug 361448 - Keybinding doesn't appear in the debug toolbar
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions')
4 files changed, 13 insertions, 5 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandActionDelegate.java index 3c784dc5d..8f4b1fa07 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandActionDelegate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandActionDelegate.java @@ -49,9 +49,6 @@ public abstract class DebugCommandActionDelegate implements IWorkbenchWindowActi */ public void init(IAction action) { fDebugAction.setActionProxy(action); - - // Ensure that the key accelerator is shown in tool-tip - action.setActionDefinitionId(fDebugAction.getActionDefinitionId()); } /* diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandAction.java index 033302434..740007ef7 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandAction.java @@ -24,6 +24,10 @@ import org.eclipse.jface.resource.ImageDescriptor; */ public class DisconnectCommandAction extends DebugCommandAction{ + public DisconnectCommandAction() { + setActionDefinitionId("org.eclipse.debug.ui.commands.Disconnect"); //$NON-NLS-1$ + } + public String getText() { return ActionMessages.DisconnectAction_0; } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandAction.java index 3693b0f8d..145643330 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandAction.java @@ -24,6 +24,10 @@ import org.eclipse.jface.resource.ImageDescriptor; */ public class DropToFrameCommandAction extends DebugCommandAction { + public DropToFrameCommandAction() { + setActionDefinitionId("org.eclipse.debug.ui.commands.DropToFrame"); //$NON-NLS-1$ + } + public String getText() { return ActionMessages.DropToFrameAction_0; } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/SuspendCommandAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/SuspendCommandAction.java index f6a47bfd9..4059c5ab0 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/SuspendCommandAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/SuspendCommandAction.java @@ -24,7 +24,10 @@ import org.eclipse.jface.resource.ImageDescriptor; */ public class SuspendCommandAction extends DebugCommandAction { - + public SuspendCommandAction() { + setActionDefinitionId("org.eclipse.debug.ui.commands.Suspend"); //$NON-NLS-1$ + } + public String getText() { return ActionMessages.SuspendAction_0; } @@ -34,7 +37,7 @@ public class SuspendCommandAction extends DebugCommandAction { } public String getId() { - return "org.eclipse.debug.ui.debugview.toolbar.suspend"; //$NON-NLS-1$ + return "org.eclipse.debug.ui.commands.Suspend"; //$NON-NLS-1$ } public String getToolTipText() { |