mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
15 lines
729 B
Java
15 lines
729 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 <warning descr="Intention does not have a description">MyIntentionAction</warning> 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; }
|
|
|
|
} |