Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeDetailElement.java | ||
---|---|---|
15 | 15 |
|
16 | 16 |
import eu.etaxonomy.cdm.common.CdmUtils; |
17 | 17 |
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper; |
18 |
import eu.etaxonomy.cdm.model.name.INonViralName; |
|
19 | 18 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
20 | 19 |
import eu.etaxonomy.cdm.model.reference.Reference; |
21 | 20 |
import eu.etaxonomy.cdm.model.taxon.Classification; |
... | ... | |
84 | 83 |
protected void createControls(ICdmFormElement formElement, |
85 | 84 |
ITaxonTreeNode entity, int style) { |
86 | 85 |
selection_classification = formFactory |
87 |
.createSelectionElement(Classification.class, |
|
88 |
getConversationHolder(), formElement, "Classification",
|
|
86 |
.createSelectionElement(Classification.class,//getConversationHolder(),
|
|
87 |
formElement, "Classification",
|
|
89 | 88 |
null, EntitySelectionElement.DELETABLE, style); |
90 | 89 |
selection_parentTaxonNode = formFactory |
91 | 90 |
.createTaxonNodeSelectionElement(getConversationHolder(), formElement, "Parent", null, |
92 | 91 |
EntitySelectionElement.DELETABLE, style); |
93 | 92 |
|
94 | 93 |
selection_reuseExistingTaxon = formFactory |
95 |
.createSelectionElement(Taxon.class, |
|
96 |
getConversationHolder(), formElement,
|
|
94 |
.createSelectionElement(Taxon.class,//getConversationHolder(),
|
|
95 |
formElement,
|
|
97 | 96 |
"Reuse existing taxon", null, |
98 | 97 |
EntitySelectionElement.DELETABLE, style); |
99 | 98 |
|
100 | 99 |
selection_reuseExistingName = formFactory |
101 |
.createSelectionElement(TaxonName.class, |
|
102 |
getConversationHolder(), formElement,
|
|
100 |
.createSelectionElement(TaxonName.class,//getConversationHolder(),
|
|
101 |
formElement,
|
|
103 | 102 |
"Reuse existing name", null, |
104 | 103 |
EntitySelectionElement.DELETABLE, style); |
105 | 104 |
selection_SecRef = formFactory |
106 |
.createSelectionElement(Reference.class,getConversationHolder(), formElement, "Secundum Reference", null, |
|
105 |
.createSelectionElement(Reference.class,//getConversationHolder(), |
|
106 |
formElement, "Secundum Reference", null, |
|
107 | 107 |
EntitySelectionElement.DELETABLE, style); |
108 | 108 |
if (isCreateNew()){ |
109 | 109 |
textNewTaxonName = formFactory.createTextWithLabelElement(formElement,"New Taxon", "", style); |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog