public interface IToggleBreakpointsTargetExtension extends IToggleBreakpointsTarget
IToggleBreakpointsTarget.
This interface provides the ability to selectively create any type of breakpoint
when invoked, rather than a specific type of breakpoint (for example, a line
breakpoint). This allows targets to choose the type of breakpoint to create
when the user double-clicks in the vertical ruler.
Clients implementing IToggleBreakpointsTarget may optionally
implement this interface.
ToggleBreakpointAction| Modifier and Type | Method and Description |
|---|---|
boolean |
canToggleBreakpoints(IWorkbenchPart part,
ISelection selection)
Returns whether line breakpoints can be toggled on the given selection.
|
void |
toggleBreakpoints(IWorkbenchPart part,
ISelection selection)
Creates new line breakpoints or removes existing breakpoints.
|
canToggleLineBreakpoints, canToggleMethodBreakpoints, canToggleWatchpoints, toggleLineBreakpoints, toggleMethodBreakpoints, toggleWatchpointsvoid toggleBreakpoints(IWorkbenchPart part, ISelection selection) throws CoreException
part - the part on which the action has been invokedselection - selection on which line breakpoints should be toggledCoreException - if unable to perform the actionboolean canToggleBreakpoints(IWorkbenchPart part, ISelection selection)
part - the part on which the action has been invokedselection - selection on which line breakpoints may be toggledGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.