Package org.eclipse.debug.ui.actions
Class ToggleWatchpointActionDelegate
java.lang.Object
org.eclipse.debug.internal.ui.actions.breakpoints.ToggleBreakpointObjectActionDelegate
org.eclipse.debug.ui.actions.ToggleWatchpointActionDelegate
- All Implemented Interfaces:
IActionDelegate,IActionDelegate2,IObjectActionDelegate
public class ToggleWatchpointActionDelegate
extends org.eclipse.debug.internal.ui.actions.breakpoints.ToggleBreakpointObjectActionDelegate
A toggle watchpoint action that can be contributed an object
contribution. The action will toggle watchpoints on objects
that provide an
IToggleBreakpointsTarget adapter.
Clients may reference/contribute this class as an object contribution action delegate in plug-in XML.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidperformAction(IToggleBreakpointsTarget target, IWorkbenchPart part, ISelection selection) Performs the operation specific to this action.Methods inherited from class org.eclipse.debug.internal.ui.actions.breakpoints.ToggleBreakpointObjectActionDelegate
dispose, init, run, runWithEvent, selectionChanged, setActivePart
-
Constructor Details
-
ToggleWatchpointActionDelegate
public ToggleWatchpointActionDelegate()
-
-
Method Details
-
performAction
protected void performAction(IToggleBreakpointsTarget target, IWorkbenchPart part, ISelection selection) throws CoreException Description copied from class:org.eclipse.debug.internal.ui.actions.breakpoints.ToggleBreakpointObjectActionDelegatePerforms the operation specific to this action.- Specified by:
performActionin classorg.eclipse.debug.internal.ui.actions.breakpoints.ToggleBreakpointObjectActionDelegate- Parameters:
target- adapter to toggle breakpointspart- the active partselection- the selection in the active part- Throws:
CoreException- if an exception occurs
-