public abstract class NextPrevParameterAction extends CodeInsightAction
Modifier and Type | Class and Description |
---|---|
static class |
NextPrevParameterAction.Next |
static class |
NextPrevParameterAction.Prev |
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
NextPrevParameterAction(boolean next) |
Modifier and Type | Method and Description |
---|---|
void |
beforeActionPerformedUpdate(AnActionEvent e)
Same as
AnAction.update(AnActionEvent) but is calls immediately before actionPerformed() as final check guard. |
CodeInsightActionHandler |
getHandler() |
static boolean |
hasSuitablePolicy(Editor editor,
PsiFile file) |
protected boolean |
isValidForFile(Project project,
Editor editor,
PsiFile file) |
actionPerformed, actionPerformedImpl, getCommandName, getEditor, update, update, update
addTextOverride, applyTextOverride, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public CodeInsightActionHandler getHandler()
getHandler
in class CodeInsightAction
protected boolean isValidForFile(Project project, Editor editor, PsiFile file)
isValidForFile
in class CodeInsightAction
public void beforeActionPerformedUpdate(AnActionEvent e)
AnAction
AnAction.update(AnActionEvent)
but is calls immediately before actionPerformed() as final check guard.
Default implementation delegates to AnAction.update(AnActionEvent)
.beforeActionPerformedUpdate
in class CodeInsightAction
e
- Carries information on the invocation place and data available