public class ApplyIntentionAction extends AnAction
AnAction.TransparentUpdateACTIONS_KEY, EMPTY_ARRAY| Constructor and Description |
|---|
ApplyIntentionAction(HighlightInfo.IntentionActionDescriptor descriptor,
java.lang.String text,
Editor editor,
PsiFile file) |
ApplyIntentionAction(IntentionAction action,
java.lang.String text,
Editor editor,
PsiFile file) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
static ApplyIntentionAction [] |
getAvailableIntentions(Editor editor,
PsiFile file) |
java.lang.String |
getName() |
addTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, update, useSmallerFontForTextInToolbarclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDumbAwarepublic ApplyIntentionAction(HighlightInfo.IntentionActionDescriptor descriptor, java.lang.String text, Editor editor, PsiFile file)
public ApplyIntentionAction(IntentionAction action, java.lang.String text, Editor editor, PsiFile file)
public void actionPerformed(AnActionEvent e)
AnActionactionPerformed in class AnActione - Carries information on the invocation placepublic java.lang.String getName()
public static ApplyIntentionAction [] getAvailableIntentions(Editor editor, PsiFile file)