Exemplo n.º 1
0
 protected final void bindcmbPrimaryTumourNameLookup() {
   this.form.cmbPrimaryTumourName().clear();
   ims.eas.vo.lookups.PrimaryTumourCollection lookupCollection =
       ims.eas.vo.lookups.LookupHelper.getPrimaryTumour(this.domain.getLookupService());
   for (int x = 0; x < lookupCollection.size(); x++) {
     this.form
         .cmbPrimaryTumourName()
         .newRow(
             lookupCollection.get(x),
             lookupCollection.get(x).getText(),
             lookupCollection.get(x).getImage(),
             lookupCollection.get(x).getTextColor());
   }
 }
Exemplo n.º 2
0
 protected final void setcmbPrimaryTumourNameLookupValue(int id) {
   ims.eas.vo.lookups.PrimaryTumour instance =
       ims.eas.vo.lookups.LookupHelper.getPrimaryTumourInstance(
           this.domain.getLookupService(), id);
   if (instance != null) this.form.cmbPrimaryTumourName().setValue(instance);
 }