@Override
  public void invoke(@NotNull final Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
    RefactoringActionHandlerFactory.getInstance().createRenameHandler().invoke(project, new PsiElement[]{myElement},
                                                                               DataManager.getInstance().getDataContext());
  }
@Override
  public void invoke(@NotNull final Project project, Editor editor, PsiFile file)