|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IntentionAction
| Method Summary | |
|---|---|
java.lang.String |
getFamilyName()
|
java.lang.String |
getText()
Returns text to be shown in the list of available actions, if this action is available. |
void |
invoke(Project project,
Editor editor,
PsiFile file)
Called when user invokes intention. |
boolean |
isAvailable(Project project,
Editor editor,
PsiFile file)
Checks whether this intention is available at a caret offset in file. |
boolean |
startInWriteAction()
Indicate whether this action should be invoked inside write action. |
| Method Detail |
|---|
java.lang.String getText()
isAvailable(Project,Editor,PsiFile)java.lang.String getFamilyName()
boolean isAvailable(Project project,
Editor editor,
PsiFile file)
void invoke(Project project,
Editor editor,
PsiFile file)
throws IncorrectOperationException
startInWriteAction() returns true, this method is also called
inside write action.
IncorrectOperationExceptionboolean startInWriteAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||