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 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.ToggleBreakpointObjectActionDelegate
      Performs the operation specific to this action.
      Specified by:
      performAction in class org.eclipse.debug.internal.ui.actions.breakpoints.ToggleBreakpointObjectActionDelegate
      Parameters:
      target - adapter to toggle breakpoints
      part - the active part
      selection - the selection in the active part
      Throws:
      CoreException - if an exception occurs