public class JavaPrevParameterHandler extends EditorActionHandler
Constructor and Description |
---|
JavaPrevParameterHandler(EditorActionHandler delegate) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(Editor editor,
Caret caret,
DataContext dataContext)
Executes the action in the context of given caret.
|
protected boolean |
isEnabledForCaret(Editor editor,
Caret caret,
DataContext dataContext)
Implementations can override this method to define whether handler is enabled for a specific caret in a given editor.
|
execute, execute, executeInCommand, getCommandGroupId, isEnabled, isEnabled, runForAllCarets
public JavaPrevParameterHandler(EditorActionHandler delegate)
protected boolean isEnabledForCaret(Editor editor, Caret caret, DataContext dataContext)
EditorActionHandler
isEnabledForCaret
in class EditorActionHandler
protected void doExecute(Editor editor, Caret caret, DataContext dataContext)
EditorActionHandler
doExecute
in class EditorActionHandler
editor
- the editor in which the action is invoked.caret
- the caret for which the action is performed at the moment, or null
if it's a 'one-off' action executed
without current contextdataContext
- the data context for the action.