public abstract class MultiCaretCodeInsightActionHandler
extends java.lang.Object
MultiCaretCodeInsightAction
Constructor and Description |
---|
MultiCaretCodeInsightActionHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
invoke(Project project,
Editor editor,
Caret caret,
PsiFile file)
Invoked for each caret in editor (in top-to-bottom order).
|
void |
postInvoke()
Invoked after processing all carets.
|
public abstract void invoke(Project project, Editor editor, Caret caret, PsiFile file)
project
value is the same for all carets, editor
and file
values can be different in presence of multi-root PSI and injected fragments. For injected fragments
caret instance will belong to corresponding injected editor.public void postInvoke()