This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 218933
Collapse All | Expand All

(-)a/spi.debugger.ui/src/org/netbeans/modules/debugger/resources/mf-layer.xml (+5 lines)
Lines 101-106 Link Here
101
                <attr name="instanceCreate" methodvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction.createToggleBreakpointAction"/>
101
                <attr name="instanceCreate" methodvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction.createToggleBreakpointAction"/>
102
                <attr name="instanceOf" stringvalue="javax.swing.Action"/>
102
                <attr name="instanceOf" stringvalue="javax.swing.Action"/>
103
            </file>
103
            </file>
104
            <file name="org-netbeans-modules-debugger-ui-actions-DisableBreakpointAction.instance">
105
                <attr name="instanceClass" stringvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction"/>
106
                <attr name="instanceCreate" methodvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction.createDisableBreakpointAction"/>
107
                <attr name="instanceOf" stringvalue="javax.swing.Action"/>
108
            </file>
104
            <file name="org-netbeans-modules-debugger-ui-actions-KillAction.instance">
109
            <file name="org-netbeans-modules-debugger-ui-actions-KillAction.instance">
105
                <attr name="instanceClass" stringvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction"/>
110
                <attr name="instanceClass" stringvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction"/>
106
                <attr name="instanceCreate" methodvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction.createKillAction"/>
111
                <attr name="instanceCreate" methodvalue="org.netbeans.modules.debugger.ui.actions.DebuggerAction.createKillAction"/>
(-)a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/Bundle.properties (+2 lines)
Lines 125-130 Link Here
125
#ToggleBreakpointAction
125
#ToggleBreakpointAction
126
CTL_Toggle_breakpoint=&Toggle Line Breakpoint
126
CTL_Toggle_breakpoint=&Toggle Line Breakpoint
127
127
128
CTL_Disable_breakpoint=Disable/Enable/Add Line Breakpoint
129
128
#ResumeAction
130
#ResumeAction
129
CTL_Resume=Resume
131
CTL_Resume=Resume
130
132
(-)a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/DebuggerAction.java (+8 lines)
Lines 295-300 Link Here
295
        action.putValue("default-action-excluded-annotation-types", BREAKPOINT_ANNOTATION_TYPES);
295
        action.putValue("default-action-excluded-annotation-types", BREAKPOINT_ANNOTATION_TYPES);
296
        return action;
296
        return action;
297
    }
297
    }
298
    public static DebuggerAction createDisableBreakpointAction () {
299
        DebuggerAction action = new DebuggerAction(ActionsManager.ACTION_DISABLE_BREAKPOINT);
300
        action.putValue (Action.NAME, "CTL_Disable_breakpoint");
301
        action.putValue("default-action", false);
302
        action.putValue("supported-annotation-types", BREAKPOINT_ANNOTATION_TYPES);
303
        action.putValue("default-action-excluded-annotation-types", BREAKPOINT_ANNOTATION_TYPES);
304
        return action;
305
    }
298
306
299
    public static DebuggerAction createEvaluateAction() {
307
    public static DebuggerAction createEvaluateAction() {
300
        DebuggerAction action = new DebuggerAction(ActionsManager.ACTION_EVALUATE);
308
        DebuggerAction action = new DebuggerAction(ActionsManager.ACTION_EVALUATE);

Return to bug 218933