org.eclipse.debug.ui.actions
Class RulerEnableDisableBreakpointActionDelegate
java.lang.Object
org.eclipse.ui.actions.ActionDelegate
org.eclipse.ui.texteditor.AbstractRulerActionDelegate
org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate
- All Implemented Interfaces:
- EventListener, IActionDelegate, IActionDelegate2, IEditorActionDelegate, IMenuListener, MouseListener, org.eclipse.swt.internal.SWTEventListener
- public class RulerEnableDisableBreakpointActionDelegate
- extends AbstractRulerActionDelegate
Toggles enablement of a breakpoint in a vertical ruler.
This action can be contributed to a vertical ruler context menu via the
popupMenus
extension point, by referencing the ruler's context
menu identifier in the targetID
attribute.
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution
targetID="example.rulerContextMenuId"
id="example.RulerPopupActions">
<action
label="Enable Breakpoint"
class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate"
menubarPath="additions"
id="example.rulerContextMenu.toggleBreakpointAction">
</action>
</viewerContribution>
Clients may refer to this class as an action delegate in plug-in XML. This class
is not intended to be subclassed.
- Since:
- 3.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RulerEnableDisableBreakpointActionDelegate
public RulerEnableDisableBreakpointActionDelegate()
createAction
protected IAction createAction(ITextEditor editor,
IVerticalRulerInfo rulerInfo)
- Description copied from class:
AbstractRulerActionDelegate
- The factory method creating the underlying action.
- Specified by:
createAction
in class AbstractRulerActionDelegate
- Parameters:
editor
- the editor the action to be created will work onrulerInfo
- the vertical ruler the action to be created will work on
- Returns:
- the created action
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.