public class TypeCookProcessor extends BaseRefactoringProcessor
BaseRefactoringProcessor.ConflictsInTestsException, BaseRefactoringProcessor.UnknownReferenceTypeException
myPrepareSuccessfulSwingThreadCallback, myProject, myRefactoringScope
Constructor and Description |
---|
TypeCookProcessor(Project project,
PsiElement[] elements,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
protected UsageViewDescriptor |
createUsageViewDescriptor(UsageInfo [] usages) |
protected UsageInfo [] |
findUsages()
Is called inside atomic action.
|
protected java.lang.String |
getCommandName() |
java.util.List<PsiElement> |
getElements() |
protected boolean |
isGlobalUndoAction() |
protected void |
performRefactoring(UsageInfo [] usages)
Is called in a command and inside atomic action.
|
protected void |
refreshElements(PsiElement [] elements)
is called when usage search is re-run.
|
createConflictsDialog, customizeUsagesView, doRun, execute, getAfterData, getBeforeData, getElementsToWrite, getRefactoringId, getTransaction, getUndoConfirmationPolicy, isPreviewUsages, isPreviewUsages, isToBeChanged, performPsiSpoilingRefactoring, prepareConflictsDialog, prepareSuccessful, preprocessUsages, previewRefactoring, processConflicts, run, runWithDisabledPreview, setPrepareSuccessfulSwingThreadCallback, setPreviewUsages, shouldDisableAccessChecks, showConflicts, showConflicts, skipNonCodeUsages
public TypeCookProcessor(Project project, PsiElement[] elements, Settings settings)
protected UsageViewDescriptor createUsageViewDescriptor(UsageInfo [] usages)
createUsageViewDescriptor
in class BaseRefactoringProcessor
protected UsageInfo [] findUsages()
BaseRefactoringProcessor
findUsages
in class BaseRefactoringProcessor
protected void refreshElements(PsiElement [] elements)
BaseRefactoringProcessor
refreshElements
in class BaseRefactoringProcessor
elements
- - refreshed elements that are returned by UsageViewDescriptor.getElements()protected void performRefactoring(UsageInfo [] usages)
BaseRefactoringProcessor
performRefactoring
in class BaseRefactoringProcessor
protected boolean isGlobalUndoAction()
isGlobalUndoAction
in class BaseRefactoringProcessor
protected java.lang.String getCommandName()
getCommandName
in class BaseRefactoringProcessor
public java.util.List<PsiElement> getElements()