Bug 72300 - Confirmation on RemoveAll actions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.properties b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.properties index b11315f..b13dc71 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.properties +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.properties
@@ -49,6 +49,8 @@ RemoveAllBreakpointsAction.Exceptions_occurred_removing_breakpoints._5=Exception occurred removing breakpoints. RemoveAllBreakpointsAction.Removing_all_breakpoints_4=Removing all breakpoints +RemoveAllBreakpointsAction.0=Remove All Breakpoints +RemoveAllBreakpointsAction.1=Are you sure you want to remove all breakpoints? RemoveBreakpointAction.Breakpoint(s)_removal_failed_3=Breakpoint(s) removal failed RemoveBreakpointAction.Exceptions_occurred_attempting_to_remove_a_breakpoint._5=Exceptions occurred attempting to remove a breakpoint.
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllBreakpointsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllBreakpointsAction.java index efee5d8..937f6e4 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllBreakpointsAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllBreakpointsAction.java
@@ -38,7 +38,7 @@ if (window == null) { return; } - boolean proceed = MessageDialog.openQuestion(window.getShell(), "Remove All Breakpoints", "Are you sure you want to remove all breakpoints?"); + boolean proceed = MessageDialog.openQuestion(window.getShell(), ActionMessages.getString("RemoveAllBreakpointsAction.0"), ActionMessages.getString("RemoveAllBreakpointsAction.1")); //$NON-NLS-1$ //$NON-NLS-2$ if (proceed) { try { breakpointManager.removeBreakpoints(breakpoints, true);