use of de.carne.certmgr.jfx.store.UserPreferences in project certmgr by hdecarne.
the class PreferencesController method call.
@Override
@Nullable
public UserPreferences call(@Nullable ButtonType param) {
UserPreferences dialogResult = null;
if (param != null && ButtonType.APPLY.getButtonData() == param.getButtonData()) {
this.preferencesParam.get().expertMode.put(this.ctlExpertModeOption.isSelected());
try {
this.preferencesParam.get().sync();
dialogResult = this.preferencesParam.get();
} catch (BackingStoreException e) {
Alerts.unexpected(e).showAndWait();
}
}
return dialogResult;
}
Aggregations