diff --git a/spi.debugger.ui/src/org/netbeans/modules/debugger/resources/mf-layer.xml b/spi.debugger.ui/src/org/netbeans/modules/debugger/resources/mf-layer.xml
--- a/spi.debugger.ui/src/org/netbeans/modules/debugger/resources/mf-layer.xml
+++ b/spi.debugger.ui/src/org/netbeans/modules/debugger/resources/mf-layer.xml
@@ -101,6 +101,11 @@
+
+
+
+
+
diff --git a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/Bundle.properties b/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/Bundle.properties
--- a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/Bundle.properties
+++ b/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/Bundle.properties
@@ -125,6 +125,8 @@
#ToggleBreakpointAction
CTL_Toggle_breakpoint=&Toggle Line Breakpoint
+CTL_Disable_breakpoint=Disable/Enable/Add Line Breakpoint
+
#ResumeAction
CTL_Resume=Resume
diff --git a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/DebuggerAction.java b/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/DebuggerAction.java
--- a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/DebuggerAction.java
+++ b/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/DebuggerAction.java
@@ -295,6 +295,14 @@
action.putValue("default-action-excluded-annotation-types", BREAKPOINT_ANNOTATION_TYPES);
return action;
}
+ public static DebuggerAction createDisableBreakpointAction () {
+ DebuggerAction action = new DebuggerAction(ActionsManager.ACTION_DISABLE_BREAKPOINT);
+ action.putValue (Action.NAME, "CTL_Disable_breakpoint");
+ action.putValue("default-action", false);
+ action.putValue("supported-annotation-types", BREAKPOINT_ANNOTATION_TYPES);
+ action.putValue("default-action-excluded-annotation-types", BREAKPOINT_ANNOTATION_TYPES);
+ return action;
+ }
public static DebuggerAction createEvaluateAction() {
DebuggerAction action = new DebuggerAction(ActionsManager.ACTION_EVALUATE);