public class ApplyIntentionAction extends AnAction
AnAction.TransparentUpdate
ACTIONS_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, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public 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)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation placepublic java.lang.String getName()
public static ApplyIntentionAction [] getAvailableIntentions(Editor editor, PsiFile file)