- interactionDescription = formFactory.createMultiLineTextWithLabel(this,
- "Relationship to the taxon:", 200, SWT.WRAP);
- entity = HibernateProxyHelper.deproxy(entity, TaxonInteraction.class);
- interactionDescription.setText(entity.getDescription(CdmStore
- .getDefaultLanguage()));
+ taxonSelection = formFactory
+ .createSelectionElement(Taxon.class,
+ getConversationHolder(), formElement, "Taxon",
+ CdmBase.deproxy(entity.getTaxon2(),Taxon.class),
+ EntitySelectionElement.ALL, style);
+
+ interactionDescription = formFactory.createMultiLineTextWithLabel(
+ formElement, "Relationship to the unit:", 200, style);
+ Map<Language, LanguageString> descriptions = entity.getDescription();
+
+ if (descriptions.get(CdmStore.getDefaultLanguage()) != null) {
+ interactionDescription.setText(descriptions.get(
+ CdmStore.getDefaultLanguage()).getText());
+ }