@Override
    public void performCut(@NotNull DataContext dataContext) {
      PsiElement[] elements = validate(getSelectedElements(dataContext));
      if (MoveHandler.adjustForMove(myProject, elements, null) == null) {
        return;
      }
      // 'elements' passed instead of result of 'adjustForMove' because otherwise ProjectView would
      // not recognize adjusted elements when graying them
      PsiCopyPasteManager.getInstance().setElements(elements, false);
      updateView();
    }
@Override
    public void performCut(@NotNull DataContext dataContext)