/** * Transfer the data from the config-module to the UI. * * @param offerConfigModule the config-module to read the data from. */ public void updatePreferencePage(OfferConfigModule offerConfigModule) { suppressMarkDirty = true; try { expiryDurationUnfinalized.setTimeLength(offerConfigModule.getExpiryDurationMSecUnfinalized()); expiryDurationFinalized.setTimeLength(offerConfigModule.getExpiryDurationMSecFinalized()); } finally { suppressMarkDirty = false; } }
public void updateConfigModule(OfferConfigModule offerConfigModule) { offerConfigModule.setExpiryDurationMSecUnfinalized(expiryDurationUnfinalized.getTimeLength()); offerConfigModule.setExpiryDurationMSecFinalized(expiryDurationFinalized.getTimeLength()); }