@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      final RepositoryTreeNode selectedNode = getSelectedNode();
      if (!ModalityState.nonModal().equals(ModalityState.current())) {
        doCancelAction();
      }
      doCheckout(ProjectLevelVcsManager.getInstance(myProject).getCompositeCheckoutListener(), selectedNode);
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)