예제 #1
0
 /**
  * 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;
   }
 }
예제 #2
0
 public void updateConfigModule(OfferConfigModule offerConfigModule) {
   offerConfigModule.setExpiryDurationMSecUnfinalized(expiryDurationUnfinalized.getTimeLength());
   offerConfigModule.setExpiryDurationMSecFinalized(expiryDurationFinalized.getTimeLength());
 }