public class EnterHandler extends BaseEnterHandler
Constructor and Description |
---|
EnterHandler(EditorActionHandler originalHandler) |
Modifier and Type | Method and Description |
---|---|
void |
executeWriteAction(Editor editor,
Caret caret,
DataContext dataContext) |
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.
|
getCommandGroupId
doExecute, executeWriteAction
execute, execute, executeInCommand, isEnabled, isEnabled, runForAllCarets
public EnterHandler(EditorActionHandler originalHandler)
public boolean isEnabledForCaret(Editor editor, Caret caret, DataContext dataContext)
EditorActionHandler
isEnabledForCaret
in class EditorActionHandler
public void executeWriteAction(Editor editor, Caret caret, DataContext dataContext)
executeWriteAction
in class EditorWriteActionHandler