public class NamedElementDuplicateHandler extends EditorWriteActionHandler
| Constructor and Description |
|---|
NamedElementDuplicateHandler(EditorActionHandler original) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeWriteAction(Editor editor,
Caret caret,
DataContext dataContext) |
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.
|
doExecute, executeWriteActionexecute, execute, executeInCommand, getCommandGroupId, isEnabled, isEnabled, runForAllCaretspublic NamedElementDuplicateHandler(EditorActionHandler original)
protected boolean isEnabledForCaret(Editor editor, Caret caret, DataContext dataContext)
EditorActionHandlerisEnabledForCaret in class EditorActionHandlerpublic void executeWriteAction(Editor editor, Caret caret, DataContext dataContext)
executeWriteAction in class EditorWriteActionHandler