public class RenamePsiDirectoryProcessor extends RenamePsiElementProcessor
DEFAULT, EP_NAME
Constructor and Description |
---|
RenamePsiDirectoryProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProcessElement(PsiElement element) |
RenameDialog |
createRenameDialog(Project project,
PsiElement element,
PsiElement nameSuggestionContext,
Editor editor) |
java.util.Collection<PsiReference> |
findReferences(PsiElement element,
SearchScope searchScope,
boolean searchInCommentsAndStrings) |
PsiElement |
getElementToSearchInStringsAndComments(PsiElement element) |
java.lang.String |
getHelpID(PsiElement element) |
java.lang.String |
getQualifiedNameAfterRename(PsiElement element,
java.lang.String newName,
boolean nonJava) |
boolean |
isToSearchForTextOccurrences(PsiElement element) |
boolean |
isToSearchInComments(PsiElement element) |
void |
setToSearchForTextOccurrences(PsiElement element,
boolean enabled) |
void |
setToSearchInComments(PsiElement element,
boolean enabled) |
allForElement, createUsageInfo, findCollisions, findExistingNameConflicts, findExistingNameConflicts, findReferences, findReferences, forcesShowPreview, forElement, getPostRenameCallback, getTextOccurrenceSearchStrings, isInplaceRenameSupported, prepareRenaming, prepareRenaming, renameElement, showRenamePreviewButton, substituteElementToRename, substituteElementToRename
public boolean canProcessElement(PsiElement element)
canProcessElement
in class RenamePsiElementProcessor
public RenameDialog createRenameDialog(Project project, PsiElement element, PsiElement nameSuggestionContext, Editor editor)
createRenameDialog
in class RenamePsiElementProcessor
public java.lang.String getQualifiedNameAfterRename(PsiElement element, java.lang.String newName, boolean nonJava)
getQualifiedNameAfterRename
in class RenamePsiElementProcessor
public java.util.Collection<PsiReference> findReferences(PsiElement element, SearchScope searchScope, boolean searchInCommentsAndStrings)
findReferences
in class RenamePsiElementProcessor
public PsiElement getElementToSearchInStringsAndComments(PsiElement element)
getElementToSearchInStringsAndComments
in class RenamePsiElementProcessor
public java.lang.String getHelpID(PsiElement element)
getHelpID
in class RenamePsiElementProcessor
public boolean isToSearchInComments(PsiElement element)
isToSearchInComments
in class RenamePsiElementProcessor
public void setToSearchInComments(PsiElement element, boolean enabled)
setToSearchInComments
in class RenamePsiElementProcessor
public boolean isToSearchForTextOccurrences(PsiElement element)
isToSearchForTextOccurrences
in class RenamePsiElementProcessor
public void setToSearchForTextOccurrences(PsiElement element, boolean enabled)
setToSearchForTextOccurrences
in class RenamePsiElementProcessor