public abstract class KeyAwareInspectionViewAction extends InspectionViewActionBase
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyAwareInspectionViewAction.DisableInspection |
static class |
KeyAwareInspectionViewAction.RunInspectionOn |
AnAction.TransparentUpdateACTIONS_KEY, EMPTY_ARRAY| Constructor and Description |
|---|
KeyAwareInspectionViewAction(java.lang.String name) |
KeyAwareInspectionViewAction(java.util.function.Supplier<java.lang.String> name) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
protected abstract void |
actionPerformed(InspectionResultsView view,
HighlightDisplayKey key) |
protected boolean |
isEnabled(InspectionResultsView view,
AnActionEvent e) |
getView, updateaddTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbarclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDumbAwarepublic KeyAwareInspectionViewAction(java.lang.String name)
public KeyAwareInspectionViewAction(java.util.function.Supplier<java.lang.String> name)
protected boolean isEnabled(InspectionResultsView view, AnActionEvent e)
isEnabled in class InspectionViewActionBasepublic void actionPerformed(AnActionEvent e)
AnActionactionPerformed in class AnActione - Carries information on the invocation placeprotected abstract void actionPerformed(InspectionResultsView view, HighlightDisplayKey key)