public class PlainDirectoryRenameHandler extends DirectoryRenameHandlerBase
PsiElementRenameHandler
.
The explicit handler is needed to suggest choosing what user wants to rename if the rename refactoring is invoked on a directory which
has an additional RenameHandler
(e.g. RenameModuleHandler
).EP_NAME
Constructor and Description |
---|
PlainDirectoryRenameHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRename(PsiElement element,
Project project,
PsiElement nameSuggestionContext,
Editor editor) |
static boolean |
isPlainDirectory(PsiDirectory directory) |
protected boolean |
isSuitableDirectory(PsiDirectory directory) |
adjustForRename, getActionTitle, invoke, invoke, isAvailableOnDataContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRenaming
protected boolean isSuitableDirectory(PsiDirectory directory)
isSuitableDirectory
in class DirectoryRenameHandlerBase
public static boolean isPlainDirectory(PsiDirectory directory)
protected void doRename(PsiElement element, Project project, PsiElement nameSuggestionContext, Editor editor)
doRename
in class DirectoryRenameHandlerBase