public class MultipleRootsMoveDestination extends AutocreatingMoveDestination
myFileIndex, myManager, myPackage
Constructor and Description |
---|
MultipleRootsMoveDestination(PackageWrapper aPackage) |
Modifier and Type | Method and Description |
---|---|
void |
analyzeModuleConflicts(java.util.Collection<? extends PsiElement> elements,
MultiMap<PsiElement,java.lang.String> conflicts,
UsageInfo[] usages) |
PsiDirectory |
getTargetDirectory(PsiDirectory source)
Invoked in command & write action
|
PsiDirectory |
getTargetDirectory(PsiFile source)
Invoked in command & write action
|
PsiDirectory |
getTargetIfExists(PsiDirectory source) |
PsiDirectory |
getTargetIfExists(PsiFile source) |
PackageWrapper |
getTargetPackage() |
boolean |
isTargetAccessible(Project project,
VirtualFile place) |
java.lang.String |
verify(PsiDirectory source) |
java.lang.String |
verify(PsiFile source) |
java.lang.String |
verify(PsiPackage source) |
checkCanCreateInSourceRoot
public MultipleRootsMoveDestination(PackageWrapper aPackage)
public PackageWrapper getTargetPackage()
getTargetPackage
in interface MoveDestination
getTargetPackage
in class AutocreatingMoveDestination
public PsiDirectory getTargetDirectory(PsiDirectory source) throws IncorrectOperationException
MoveDestination
getTargetDirectory
in interface MoveDestination
getTargetDirectory
in class AutocreatingMoveDestination
IncorrectOperationException
public PsiDirectory getTargetDirectory(PsiFile source) throws IncorrectOperationException
MoveDestination
getTargetDirectory
in interface MoveDestination
getTargetDirectory
in class AutocreatingMoveDestination
IncorrectOperationException
public PsiDirectory getTargetIfExists(PsiFile source)
public java.lang.String verify(PsiFile source)
public java.lang.String verify(PsiDirectory source)
public java.lang.String verify(PsiPackage source)
public void analyzeModuleConflicts(java.util.Collection<? extends PsiElement> elements, MultiMap<PsiElement,java.lang.String> conflicts, UsageInfo[] usages)
public boolean isTargetAccessible(Project project, VirtualFile place)
public PsiDirectory getTargetIfExists(PsiDirectory source)