mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
GitOrigin-RevId: e6aa39b0fb4f17e689aff81a4914d9b14059b113
15 lines
794 B
Java
15 lines
794 B
Java
import com.intellij.openapi.editor.Editor;
|
|
import com.intellij.openapi.project.Project;
|
|
import com.intellij.openapi.util.Iconable;
|
|
import com.intellij.psi.PsiFile;
|
|
import com.intellij.util.IncorrectOperationException;
|
|
|
|
public class <error descr="Intention must have 'before.*.template' and 'after.*.template' beside 'description.html'">MyIntentionActionWithoutBeforeAfter</error> implements com.intellij.codeInsight.intention.IntentionAction {
|
|
|
|
public String getText() { return"text"; }
|
|
public String getFamilyName() { return"familyName"; }
|
|
public boolean isAvailable(Project project,Editor editor,PsiFile file) {return true; }
|
|
public void invoke(Project project,Editor editor,PsiFile file) throws IncorrectOperationException {}
|
|
public boolean startInWriteAction() { return true; }
|
|
|
|
} |