public class RulerEnableDisableBreakpointActionDelegate extends AbstractRulerActionDelegate
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.
Constructor and Description |
---|
RulerEnableDisableBreakpointActionDelegate() |
Modifier and Type | Method and Description |
---|---|
protected IAction |
createAction(ITextEditor editor,
IVerticalRulerInfo rulerInfo)
The factory method creating the underlying action.
|
menuAboutToShow, mouseDoubleClick, mouseDown, mouseUp, run, runWithEvent, selectionChanged, setActiveEditor
dispose, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mouseDoubleClickAdapter, mouseDownAdapter, mouseUpAdapter
public RulerEnableDisableBreakpointActionDelegate()
protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)
AbstractRulerActionDelegate
createAction
in class AbstractRulerActionDelegate
editor
- the editor the action to be created will work onrulerInfo
- the vertical ruler the action to be created will work on
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.