@Override
  public void update(@NotNull AnActionEvent e) {
    DirDiffTableModel model = SetOperationToBase.getModel(e);
    if (model != null) {
      Couple<DirDiffElementImpl> target = getSelectedSourceAndTarget(model);
      if (target != null) {
        e.getPresentation().setEnabled(true);
        e.getPresentation().setDescription(DiffBundle.message("compare.0.with.1", target.first.getSourcePresentableName(),
                                                              target.second.getTargetPresentableName()));
        return;
      }
    }
    e.getPresentation().setDescription(DiffBundle.message("compare.selected.new.files"));
    e.getPresentation().setEnabled(false);
  }
@Override
  public void update(@NotNull AnActionEvent e)