public boolean isOverrideExportBinary(final ESide side) {
    if (!okPressed) {
      return false;
    }

    if (side == ESide.PRIMARY) {
      return primaryExportOverwrite.isSelected();
    }

    return secondaryExportOverwrite.isSelected();
  }
Save dialog for function diff views.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/dialogs/SaveFunctionDiffViewDialog.java