public class ShowErrorDescriptionAction extends BaseCodeInsightAction implements DumbAware
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
ShowErrorDescriptionAction() |
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. |
protected CodeInsightActionHandler |
getHandler() |
protected boolean |
isValidForFile(Project project,
Editor editor,
PsiFile file) |
static void |
rememberCurrentWidth(int currentWidth) |
getBaseEditor, getEditor, getInjectedEditor, getInjectedEditor, isValidForLookup, update
actionPerformed, actionPerformedImpl, getCommandName, 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
protected 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 availablepublic static void rememberCurrentWidth(int currentWidth)