Exemplo n.º 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;
   }
 }
Exemplo n.º 2
0
 public void updateConfigModule(OfferConfigModule offerConfigModule) {
   offerConfigModule.setExpiryDurationMSecUnfinalized(expiryDurationUnfinalized.getTimeLength());
   offerConfigModule.setExpiryDurationMSecFinalized(expiryDurationFinalized.getTimeLength());
 }