public class JavaMoveFilesOrDirectoriesHandler extends MoveFilesOrDirectoriesHandler
EP_NAME
Constructor and Description |
---|
JavaMoveFilesOrDirectoriesHandler() |
Modifier and Type | Method and Description |
---|---|
PsiElement[] |
adjustForMove(Project project,
PsiElement[] sourceElements,
PsiElement targetElement) |
PsiElement |
adjustTargetForMove(DataContext dataContext,
PsiElement targetContainer) |
boolean |
canMove(PsiElement[] elements,
PsiElement targetContainer,
PsiReference reference) |
void |
doMove(Project project,
PsiElement[] elements,
PsiElement targetContainer,
MoveCallback callback) |
doMove, getActionName, isValidTarget, isValidTarget, tryToMove
canMove, canMove, collectFilesOrDirsFromContext, isMoveRedundant, supportsLanguage
public PsiElement adjustTargetForMove(DataContext dataContext, PsiElement targetContainer)
adjustTargetForMove
in class MoveHandlerDelegate
public boolean canMove(PsiElement[] elements, PsiElement targetContainer, PsiReference reference)
canMove
in class MoveFilesOrDirectoriesHandler
public PsiElement[] adjustForMove(Project project, PsiElement[] sourceElements, PsiElement targetElement)
adjustForMove
in class MoveFilesOrDirectoriesHandler
public void doMove(Project project, PsiElement[] elements, PsiElement targetContainer, MoveCallback callback)
doMove
in class MoveFilesOrDirectoriesHandler