diff options
author | Darin Wright | 2005-06-03 14:18:24 +0000 |
---|---|---|
committer | Darin Wright | 2005-06-03 14:18:24 +0000 |
commit | c5bbb0244e7ae9f23ce6d31a98e98e75ccaf8f27 (patch) | |
tree | fef81a35743ec72f510d5fc5dd70a54614c97fc4 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java | |
parent | b1c6feb3b881738a160c24b1e45555dda0cbc18b (diff) | |
download | eclipse.platform.debug-c5bbb0244e7ae9f23ce6d31a98e98e75ccaf8f27.tar.gz eclipse.platform.debug-c5bbb0244e7ae9f23ce6d31a98e98e75ccaf8f27.tar.xz eclipse.platform.debug-c5bbb0244e7ae9f23ce6d31a98e98e75ccaf8f27.zip |
Bug 71794 - Mnemonic in error message
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java index 955f98717..7cc933254 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java @@ -173,7 +173,7 @@ public abstract class AbstractDebugActionDelegate implements IWorkbenchWindowAct */ private void runInBackground(IAction action, IStructuredSelection selection) { if (fBackgroundJob == null) { - fBackgroundJob = new DebugRequestJob(action.getText()); + fBackgroundJob = new DebugRequestJob(DebugUIPlugin.removeAccelerators(action.getText())); } fBackgroundJob.setTargets(selection.toArray()); fBackgroundJob.schedule(); @@ -209,7 +209,7 @@ public abstract class AbstractDebugActionDelegate implements IWorkbenchWindowAct if (!ms.isOK()) { IWorkbenchWindow window= DebugUIPlugin.getActiveWorkbenchWindow(); if (window != null) { - DebugUIPlugin.errorDialog(window.getShell(), getErrorDialogTitle(), getErrorDialogMessage(), ms); + DebugUIPlugin.errorDialog(window.getShell(), ActionMessages.AbstractDebugActionDelegate_0, getErrorDialogMessage(), ms); } else { DebugUIPlugin.log(ms); } @@ -269,13 +269,6 @@ public abstract class AbstractDebugActionDelegate implements IWorkbenchWindowAct protected abstract void doAction(Object element) throws DebugException; /** - * Returns the String to use as an error dialog title for - * a failed action. Default is to return null. - */ - protected String getErrorDialogTitle(){ - return null; - } - /** * Returns the String to use as an error dialog message for * a failed action. This message appears as the "Message:" in * the error dialog for this action. |