public class LocalQuickFixWrapper extends QuickFixAction
AnAction.TransparentUpdate
EMPTY, myToolWrapper
ACTIONS_KEY, EMPTY_ARRAY
ACTION_KEY, COMPONENT_KEY
Constructor and Description |
---|
LocalQuickFixWrapper(QuickFix fix,
InspectionToolWrapper toolWrapper) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFix(Project project,
GlobalInspectionContextImpl context,
CommonProblemDescriptor [] descriptors,
java.util.Set<? super PsiElement> ignoredElements) |
protected boolean |
applyFix(RefEntity [] refElements) |
QuickFix |
getFix() |
protected boolean |
isProblemDescriptorsAcceptable() |
protected void |
performFixesInBatch(Project project,
java.util.List<CommonProblemDescriptor[]> descriptors,
GlobalInspectionContextImpl context,
java.util.Set<? super PsiElement> ignoredElements) |
void |
setText(java.lang.String text) |
protected boolean |
startInWriteAction() |
actionPerformed, createCustomComponent, getInvoker, getText, refreshViews, removeElements, 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
createCustomComponent
isDumbAware
public LocalQuickFixWrapper(QuickFix fix, InspectionToolWrapper toolWrapper)
public void setText(java.lang.String text)
protected boolean isProblemDescriptorsAcceptable()
isProblemDescriptorsAcceptable
in class QuickFixAction
public QuickFix getFix()
protected boolean applyFix(RefEntity [] refElements)
applyFix
in class QuickFixAction
protected void applyFix(Project project, GlobalInspectionContextImpl context, CommonProblemDescriptor [] descriptors, java.util.Set<? super PsiElement> ignoredElements)
applyFix
in class QuickFixAction
protected boolean startInWriteAction()
startInWriteAction
in class QuickFixAction
protected void performFixesInBatch(Project project, java.util.List<CommonProblemDescriptor[]> descriptors, GlobalInspectionContextImpl context, java.util.Set<? super PsiElement> ignoredElements)
performFixesInBatch
in class QuickFixAction