Revision 49a64920
Added by Cherian Mathew almost 11 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/detail/IndividualsAssociationDetailElement.java | ||
---|---|---|
16 | 16 |
import eu.etaxonomy.cdm.model.common.Language; |
17 | 17 |
import eu.etaxonomy.cdm.model.common.LanguageString; |
18 | 18 |
import eu.etaxonomy.cdm.model.description.IndividualsAssociation; |
19 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase;
|
|
19 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit; |
|
20 | 20 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
21 | 21 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
22 | 22 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
... | ... | |
36 | 36 |
AbstractDetailedDescriptionDetailElement<IndividualsAssociation> { |
37 | 37 |
|
38 | 38 |
private TextWithLabelElement text_description; |
39 |
private EntitySelectionElement<DerivedUnitBase> selection_derivedUnit;
|
|
39 |
private EntitySelectionElement<DerivedUnit> selection_derivedUnit; |
|
40 | 40 |
|
41 | 41 |
/** |
42 | 42 |
* <p> |
... | ... | |
67 | 67 |
protected void createControls(ICdmFormElement formElement, |
68 | 68 |
IndividualsAssociation entity, int style) { |
69 | 69 |
selection_derivedUnit = formFactory |
70 |
.createSelectionElement(DerivedUnitBase.class,
|
|
70 |
.createSelectionElement(DerivedUnit.class, |
|
71 | 71 |
getConversationHolder(), formElement, "Unit", |
72 |
CdmBase.deproxy(entity.getAssociatedSpecimenOrObservation(),DerivedUnitBase.class),
|
|
72 |
CdmBase.deproxy(entity.getAssociatedSpecimenOrObservation(),DerivedUnit.class), |
|
73 | 73 |
EntitySelectionElement.ALL, style); |
74 | 74 |
|
75 | 75 |
text_description = formFactory.createMultilineTextWithLabel( |
Also available in: Unified diff
Aligning Editor with 3.3 model changes. First phase commit which updates only the classes.
Branch not compilable at the moment.