Search in sources :

Example 1 with TriStateBoolean

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);
}
Also used : TriStateBoolean(org.opendatakit.briefcase.reused.TriStateBoolean)

Aggregations

TriStateBoolean (org.opendatakit.briefcase.reused.TriStateBoolean)1