Esempio n. 1
0
 /* (non-Javadoc)
  * @see net.cbtltd.client.panel.AbstractPopup#setValue(java.lang.Object)
  */
 public void setValue(License license) {
   Log.debug("setValue " + license);
   if (license != null) {
     setResetting(true);
     onStateChange(license.getState());
     id = license.getId();
     downstreamidField.setValue(license.getDownstreamid());
     productField.setValue(license.getProductid());
     typeField.setValue(license.getType());
     waitField.setValue(license.getWait());
     fromtodateField.setValue(license.getFromdate());
     fromtodateField.setTovalue(license.getTodate());
     subscriptionField.setValue(license.getSubscription());
     transactionField.setValue(license.getTransaction());
     upstreamField.setValue(license.getUpstream());
     downstreamField.setValue(license.getDownstream());
     notesField.setValue(license.getNotes());
     center();
     setResetting(false);
   }
 }