public class RunInspectionAction extends GotoActionBase implements DataProvider
GotoActionBase.GotoActionCallback<T>
AnAction.TransparentUpdate
myInAction
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
RunInspectionAction() |
RunInspectionAction(java.lang.String predefinedText) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
protected void |
gotoActionPerformed(AnActionEvent e) |
static void |
runInspection(Project project,
java.lang.String shortName,
VirtualFile virtualFile,
PsiElement psiElement,
PsiFile psiFile) |
actionPerformed, getInitialText, getInitialTextForNavigation, getPsiContext, getPsiContext, hasContributors, requiresProject, showInSearchEverywherePopup, showNavigationPopup, showNavigationPopup, showNavigationPopup, showNavigationPopup, showNavigationPopup, showNavigationPopup, showNavigationPopup, showNavigationPopup, update
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, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public RunInspectionAction()
public RunInspectionAction(java.lang.String predefinedText)
protected void gotoActionPerformed(AnActionEvent e)
gotoActionPerformed
in class GotoActionBase
public java.lang.Object getData(java.lang.String dataId)
DataProvider
PlatformDataKeys
class.getData
in interface DataProvider
dataId
- the data identifier for which the value is requested.public static void runInspection(Project project, java.lang.String shortName, VirtualFile virtualFile, PsiElement psiElement, PsiFile psiFile)