- use labelCache instead of description for amplification labeling
authorPatric Plitzner <p.plitzner@bgbm.org>
Thu, 11 Dec 2014 20:35:04 +0000 (20:35 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Thu, 11 Dec 2014 20:35:04 +0000 (20:35 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AmplificationSelectionDialog.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EntitySelectionElement.java

index 8f8af98791929443405592973c49f9abf6f608d0..d6a35ccc57be621b42f2b4d45c4f26ad1b91fe75 100644 (file)
@@ -61,7 +61,7 @@ AbstractFilteredCdmResourceSelectionDialog<Amplification> {
     /** {@inheritDoc} */
     @Override
     protected void initModel() {
-        model = CdmStore.getService(IAmplificationService.class).getAmplificationUuidAndDescription();
+        model = CdmStore.getService(IAmplificationService.class).getAmplificationUuidAndLabelCache();
     }
 
     /* (non-Javadoc)
index 8f2ad3b6c523ea638f5d36994c45fca694add23e..0b0f89b2c13c9d93d4053110713f79a791161a8d 100644 (file)
@@ -338,7 +338,7 @@ public class EntitySelectionElement<T extends ICdmBase> extends
             } else if (entity instanceof Primer){
                 return ((Primer) entity).getLabel();
             } else if (entity instanceof Amplification){
-                return ((Amplification) entity).getDescription();
+                return ((Amplification) entity).getLabelCache();
             }
 
                }