Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] viewContribution override

What's your "condition" for allowing the action to be performed?

Note that there already is a user prompt to confirm deletion - which can 
be set to always/never prompt.

Darin Wright




"Rick Marion" <rick@xxxxxxxxxx> 
Sent by: platform-debug-dev-bounces@xxxxxxxxxxx
10/07/2008 12:42 PM
Please respond to
"Eclipse Platform Debug component developers list." 
<platform-debug-dev@xxxxxxxxxxx>


To
<platform-debug-dev@xxxxxxxxxxx>
cc

Subject
[platform-debug-dev] viewContribution override






Hello,
 
I need to intercept the BreakpointView’s delete all action as shown in the 
context menu and conditionally allow the action to be performed. 
I can see no mechanism for overriding an existing action, just 
contributing new actions. 
 
Another approach would be to override the DebugPlugin’s ViewContribution 
class for removing breakpoints.   Is there anyway to override a 
ViewContribution installed by a previous loaded plug-in.   Specifically, I 
would like to override the 
org.eclipse.debug.internal.ui.actions.breakpoints.RemoveAllBreakpointsAction 
defined in the ui’s XML.
 
Regard,
 
Rick_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev



Back to the top