@Override
  public void update(@NotNull AnActionEvent e) {
    DirDiffTableModel model = SetOperationToBase.getModel(e);
    e.getPresentation().setEnabledAndVisible(model != null && model.getSelectedElements().stream().anyMatch(
      it -> isChangedOrEqual(it) && Objects.equals(model.getReplacementName(it), it.getTargetName())
    ));
  }
@Override
  public void update(@NotNull AnActionEvent e)