public class MoveMembersHandler extends MoveHandlerDelegate
EP_NAME
Constructor and Description |
---|
MoveMembersHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canMove(PsiElement[] elements,
PsiElement targetContainer,
PsiReference reference) |
void |
doMove(Project project,
PsiElement[] elements,
PsiElement targetContainer,
MoveCallback callback) |
java.lang.String |
getActionName(PsiElement [] elements) |
boolean |
isValidTarget(PsiElement targetElement,
PsiElement[] sources) |
boolean |
supportsLanguage(Language language) |
boolean |
tryToMove(PsiElement element,
Project project,
DataContext dataContext,
PsiReference reference,
Editor editor) |
adjustForMove, adjustTargetForMove, canMove, canMove, collectFilesOrDirsFromContext, isMoveRedundant
public boolean canMove(PsiElement[] elements, PsiElement targetContainer, PsiReference reference)
canMove
in class MoveHandlerDelegate
public boolean isValidTarget(PsiElement targetElement, PsiElement[] sources)
isValidTarget
in class MoveHandlerDelegate
public void doMove(Project project, PsiElement[] elements, PsiElement targetContainer, MoveCallback callback)
doMove
in class MoveHandlerDelegate
public boolean tryToMove(PsiElement element, Project project, DataContext dataContext, PsiReference reference, Editor editor)
tryToMove
in class MoveHandlerDelegate
public java.lang.String getActionName(PsiElement [] elements)
getActionName
in class MoveHandlerDelegate
public boolean supportsLanguage(Language language)
supportsLanguage
in class MoveHandlerDelegate