use of org.opendatakit.briefcase.reused.TriStateBoolean in project briefcase by opendatakit.
the class ConfigurationPanelForm method setOverwriteFiles.
private void setOverwriteFiles(TriStateBoolean overrideValue) {
TriStateBoolean previousValue = overwriteFiles.getOverride();
if (previousValue != overrideValue && (overrideValue != TRUE || confirmOverwriteFiles())) {
overwriteFiles = overwriteFiles.overrideWith(overrideValue);
triggerOnChange();
} else
overwriteFilesOverrideField.set(previousValue);
}
Aggregations