|
Eclipse Platform Release 4.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IToggleBreakpointsTargetExtension2
Extension interface for IToggleBreakpointsTargetExtension
.
This interface provides the ability to inspect the key modifiers
being used when toggling a breakpoint. This allows targets to choose the type of breakpoint to create
when the user double-clicks in the vertical ruler.
Clients implementing IToggleBreakpointsTarget
or IToggleBreakpointsTargetExtension
may optionally
implement or adapt to this interface.
ToggleBreakpointAction
Method Summary | |
---|---|
boolean |
canToggleBreakpointsWithEvent(IWorkbenchPart part,
ISelection selection,
Event event)
Returns whether breakpoints can be toggled on the given selection with the given Event . |
void |
toggleBreakpointsWithEvent(IWorkbenchPart part,
ISelection selection,
Event event)
Creates or removes existing breakpoints based on any modifiers in the given Event . |
Methods inherited from interface org.eclipse.debug.ui.actions.IToggleBreakpointsTargetExtension |
---|
canToggleBreakpoints, toggleBreakpoints |
Methods inherited from interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget |
---|
canToggleLineBreakpoints, canToggleMethodBreakpoints, canToggleWatchpoints, toggleLineBreakpoints, toggleMethodBreakpoints, toggleWatchpoints |
Method Detail |
---|
void toggleBreakpointsWithEvent(IWorkbenchPart part, ISelection selection, Event event) throws CoreException
Event
.
The selection varies depending on the given part. For example,
a text selection is provided for text editors, and a structured
selection is provided for tree views, and may be a multi-selection.
part
- the part on which the action has been invokedselection
- selection on which line breakpoints should be toggledevent
- the accompanying Event
which can be null
if unavailable
CoreException
- if unable to perform the actionboolean canToggleBreakpointsWithEvent(IWorkbenchPart part, ISelection selection, Event event)
Event
.
The selection varies depending on the given part. For example,
a text selection is provided for text editors, and a structured
selection is provided for tree views, and may be a multi-selection.
part
- the part on which the action has been invokedselection
- selection on which line breakpoints should be toggledevent
- the accompanying Event
which can be null
if unavailable
Event
|
Eclipse Platform Release 4.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.