public class RelatedFilesRenamer extends AutomaticRenamer
NestingTreeStructureProvider
some files in the Project View are shown as
children of another peer file. When going to rename such 'parent' file RelatedFilesRenamer
suggests to rename child files as well. Example: when renaming foo.ts file user is suggested to rename generated foo.js and foo.js.map
files as well.myElements
Constructor and Description |
---|
RelatedFilesRenamer(PsiFile psiFile,
java.lang.String newName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
entityName() |
java.lang.String |
getDialogDescription() |
java.lang.String |
getDialogTitle() |
boolean |
isSelectedByDefault() |
allowChangeSuggestedName, canonicalNameToName, doNotRename, findUsages, findUsages, findUsages, getElements, getNewName, getRenames, hasAnythingToRename, nameToCanonicalName, setRename, suggestAllNames, suggestNameForElement
public RelatedFilesRenamer(PsiFile psiFile, java.lang.String newName)
public boolean isSelectedByDefault()
isSelectedByDefault
in class AutomaticRenamer
public java.lang.String getDialogTitle()
getDialogTitle
in class AutomaticRenamer
public java.lang.String getDialogDescription()
getDialogDescription
in class AutomaticRenamer
public java.lang.String entityName()
entityName
in class AutomaticRenamer