From 821e5d403806f8cfef88f0b9f46fa6419c6a672b Mon Sep 17 00:00:00 2001 From: sougandhs Date: Tue, 29 Oct 2024 11:41:50 +0530 Subject: [PATCH] Clear all conditions in breakpoints #549 Provides additional right click menu option for disabling all the conditions set in breakpoints. Will be useful for disabling every conditions in breakpoints by keeping the condition in the text editor itself. Enhancement #549 --- .../disable_conditional_breakpoints.png | Bin 0 -> 284 bytes org.eclipse.jdt.debug.ui/plugin.properties | 3 +- org.eclipse.jdt.debug.ui/plugin.xml | 17 ++- .../jdt/debug/ui/IJavaDebugUIConstants.java | 4 +- .../ui/JDIDebugUIPreferenceInitializer.java | 2 +- .../AbstractDisableAllActionDelegate.java | 111 ++++++++++++++++ .../debug/ui/actions/ActionMessages.java | 3 +- .../ui/actions/ActionMessages.properties | 5 +- .../actions/DisableCondtionalBreakpoints.java | 123 ++++++++++++++++++ 9 files changed, 260 insertions(+), 8 deletions(-) create mode 100644 org.eclipse.jdt.debug.ui/icons/full/elcl16/disable_conditional_breakpoints.png create mode 100644 org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AbstractDisableAllActionDelegate.java create mode 100644 org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/DisableCondtionalBreakpoints.java diff --git a/org.eclipse.jdt.debug.ui/icons/full/elcl16/disable_conditional_breakpoints.png b/org.eclipse.jdt.debug.ui/icons/full/elcl16/disable_conditional_breakpoints.png new file mode 100644 index 0000000000000000000000000000000000000000..dd38fefd5ad90ffe78c0aa03244743ac628186ec GIT binary patch literal 284 zcmV+%0ptFOP)M}#cl`ea=UGWDt0#D)?BqyN2q+)d4-1k9Jtg7RqQ$}Qnt$ktE6znuEl~C zyE0%d0ot~kpskU=0Zkn4c_ z*I>gccI`*TAPxVK4HT%_WdIUGcQR1yJ}wu07j4+j0}m6RsX*uE0KIS;9xfm+L0tec z2pKbg{47|x(+3*j6+q`t2Zv4N&URSn1K9y!=VA}UJucvY!vjF_xS|;r6VqWKjx8Mk iZJ$gyH9