Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2015-02-18 13:04:25 +0000
committerMarkus Keller2015-02-18 13:04:25 +0000
commit87bf3db976790862ceb9b321661e0234afb342ca (patch)
treef2733de5a1acda49be946435a4af0df306004264
parentfe387e762df676ad24634747cc572b02d6cad55f (diff)
downloadeclipse.platform.debug-87bf3db976790862ceb9b321661e0234afb342ca.tar.gz
eclipse.platform.debug-87bf3db976790862ceb9b321661e0234afb342ca.tar.xz
eclipse.platform.debug-87bf3db976790862ceb9b321661e0234afb342ca.zip
Bug 360368: [key binding] Hot Key for Skip All Breakpoints
-rw-r--r--org.eclipse.debug.ui/plugin.xml8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/SkipAllBreakpointsAction.java1
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsView.java4
3 files changed, 11 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/plugin.xml b/org.eclipse.debug.ui/plugin.xml
index fc6fa6d44..8c41ff1d8 100644
--- a/org.eclipse.debug.ui/plugin.xml
+++ b/org.eclipse.debug.ui/plugin.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
- Copyright (c) 2005, 2014 IBM Corporation and others.
+ Copyright (c) 2005, 2015 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
@@ -2047,6 +2047,11 @@ M4 = Platform-specific fourth key
commandId="org.eclipse.debug.ui.commands.ToggleBreakpoint"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ sequence="M1+M3+B"
+
+ commandId="org.eclipse.debug.ui.commands.SkipAllBreakpoints"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
commandId="org.eclipse.debug.ui.commands.eof"
contextId="org.eclipse.debug.ui.console"
@@ -2506,6 +2511,7 @@ M4 = Platform-specific fourth key
adaptableType="org.eclipse.debug.core.sourcelookup.containers.ArchiveSourceContainer">
<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
+ <!-- "class" below is intentionally empty, see https://bugs.eclipse.org/396822#c3 ff. -->
<factory
class=""
adaptableType="org.eclipse.ui.part.FileEditorInput">
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/SkipAllBreakpointsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/SkipAllBreakpointsAction.java
index 16ca3786a..da603a1b4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/SkipAllBreakpointsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/SkipAllBreakpointsAction.java
@@ -45,6 +45,7 @@ import org.eclipse.ui.progress.IWorkbenchSiteProgressService;
public class SkipAllBreakpointsAction extends Action implements IWorkbenchWindowActionDelegate, IActionDelegate2, IBreakpointManagerListener {
public static final String ACTION_ID = "org.eclipse.debug.ui.actions.SkipAllBreakpoints"; //$NON-NLS-1$
+ public static final String ACTION_DEFINITION_ID = "org.eclipse.debug.ui.commands.SkipAllBreakpoints"; //$NON-NLS-1$
//The real action if this is an action delegate
private IAction fAction;
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsView.java
index 490ed9d29..e29b2aaef 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsView.java
@@ -246,7 +246,9 @@ public class BreakpointsView extends VariablesView implements IBreakpointManager
setAction(ACTION_GOTO_MARKER, action);
setAction(DOUBLE_CLICK_ACTION, action);
setAction(ACTION_SHOW_MODEL_BREAKPOINT, new ShowTargetBreakpointsAction(this));
- setAction(ACTION_SKIP_BREAKPOINTS, new SkipAllBreakpointsAction(this));
+ SkipAllBreakpointsAction skipAll = new SkipAllBreakpointsAction(this);
+ setAction(ACTION_SKIP_BREAKPOINTS, skipAll);
+ skipAll.setActionDefinitionId(SkipAllBreakpointsAction.ACTION_DEFINITION_ID);
DebugPlugin.getDefault().getBreakpointManager().addBreakpointManagerListener(this);
fClipboard = new Clipboard(getSite().getShell().getDisplay());

Back to the top