if (uploadLocalFileChoice != null) {
buttons.put(FileInputMode.LOCAL, uploadLocalFileChoice);
}
buttons.put(FileInputMode.FROM_SAMPLE_FILE, fromSampleFileChoice);
Binding modeBinding = RadioButtonEnumBinding.forButtons(model.getInputModeProperty(), buttons);
modeBinding.syncUi();
if (localFileSelector != null) {
Binding localFileBinding = new FileSelectorBinding(localFileSelector, model.getLocalFileProperty());
localFileBinding.syncUi();
}
}