| java.lang.Object org.eclipse.ui.actions.ActionDelegate org.eclipse.ui.texteditor.AbstractRulerActionDelegate
AbstractRulerActionDelegate | abstract public class AbstractRulerActionDelegate extends ActionDelegate implements IEditorActionDelegate,IActionDelegate2,MouseListener,IMenuListener(Code) | | This class serves as an adapter for actions contributed to the vertical ruler's
context menu. This adapter provides the contributed actions access to their editor
and the editor's vertical ruler. These actions gain only limited access to the vertical
ruler as defined by IVerticalRulerInfo . The adapter updates the
adapter (inner) action on menu and mouse action on the vertical ruler.
Extending classes must implement the factory method
createAction(ITextEditor editor, IVerticalRulerInfo) .
since: 2.0 |
createAction | abstract protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)(Code) | | The factory method creating the underlying action.
Parameters: editor - the editor the action to be created will work on Parameters: rulerInfo - the vertical ruler the action to be created will work on the created action |
menuAboutToShow | public void menuAboutToShow(IMenuManager manager)(Code) | | |
mouseDoubleClick | public void mouseDoubleClick(MouseEvent e)(Code) | | |
mouseDown | public void mouseDown(MouseEvent e)(Code) | | |
mouseUp | public void mouseUp(MouseEvent e)(Code) | | |
run | public void run(IAction callerAction)(Code) | | |
runWithEvent | public void runWithEvent(IAction action, Event event)(Code) | | |
selectionChanged | public void selectionChanged(IAction action, ISelection selection)(Code) | | |
setActiveEditor | public void setActiveEditor(IAction callerAction, IEditorPart targetEditor)(Code) | | |
|
|