Revision 137d0ad0
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionDetailElement.java | ||
---|---|---|
47 | 47 |
// selection_featureTree = formFactory.createSelectionElement(FeatureTree.class, getConversationHolder(), formElement, "Feature Tree", null, EntitySelectionElement.ALL, style); |
48 | 48 |
|
49 | 49 |
Object typesString = entity.getTypes().stream().filter(type->type instanceof DescriptionType) |
50 |
.map(type->((DescriptionType)type).getMessage())
|
|
51 |
.collect(Collectors.joining(",")); |
|
50 |
.map(type->((DescriptionType)type).getLabel())
|
|
51 |
.collect(Collectors.joining(","));
|
|
52 | 52 |
txtDescriptionTypes = formFactory.createTextWithLabelElement(formElement, "Types", typesString, style); |
53 | 53 |
txtDescriptionTypes.setEnabled(false); |
54 | 54 |
} |
Also available in: Unified diff
ref #9280 adapt TaxEditor to new Term.getLabel()