Revision 8ea93946
Added by Andreas Müller about 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonNodeWizard.java | ||
---|---|---|
21 | 21 |
import eu.etaxonomy.cdm.api.service.dto.CreateTaxonDTO; |
22 | 22 |
import eu.etaxonomy.cdm.model.common.Language; |
23 | 23 |
import eu.etaxonomy.cdm.model.common.LanguageString; |
24 |
import eu.etaxonomy.cdm.model.description.DescriptionElementSource;
|
|
24 |
import eu.etaxonomy.cdm.model.reference.NamedSource;
|
|
25 | 25 |
import eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode; |
26 | 26 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
27 | 27 |
import eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus; |
... | ... | |
70 | 70 |
TaxonNode parent = getParentEntity(); |
71 | 71 |
|
72 | 72 |
Map<Language, LanguageString> notes = ((TaxonNodeDetailElement)taxonNodePage.getDetailElement()).getMultiLanguageTextExcludedNotes(); |
73 |
DescriptionElementSource source = parent.getSource().checkEmpty()? null: parent.getSource(); |
|
74 |
|
|
73 |
NamedSource source = parent.getSource().checkEmpty()? null: parent.getSource(); |
|
75 | 74 |
|
76 | 75 |
TaxonNodeStatus status = ((TaxonNodeDetailElement)taxonNodePage.getDetailElement()).getTaxonNodeStatus(); |
77 | 76 |
if (status == null){ |
Also available in: Unified diff
ref #9332 adapt TaxEditor code to .designationSource