Revision 869cb64b
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/common/ReferenceEntityDetailElement.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.ui.section.common; |
10 | 10 |
|
11 |
import eu.etaxonomy.cdm.model.common.ReferencedEntityBase;
|
|
11 |
import eu.etaxonomy.cdm.model.common.SingleSourcedEntityBase;
|
|
12 | 12 |
import eu.etaxonomy.cdm.model.reference.Reference; |
13 | 13 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
14 | 14 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
... | ... | |
19 | 19 |
/** |
20 | 20 |
* @author n.hoffmann |
21 | 21 |
* @date Dec 1, 2011 |
22 |
* |
|
23 | 22 |
*/ |
24 |
public class ReferenceEntityDetailElement extends AbstractCdmDetailElement<ReferencedEntityBase>{
|
|
23 |
public class ReferenceEntityDetailElement extends AbstractCdmDetailElement<SingleSourcedEntityBase>{
|
|
25 | 24 |
|
26 | 25 |
private EntitySelectionElement<Reference> selection_reference; |
27 | 26 |
private TextWithLabelElement text_referenceDetail; |
... | ... | |
33 | 32 |
|
34 | 33 |
@Override |
35 | 34 |
protected void createControls(ICdmFormElement formElement, |
36 |
ReferencedEntityBase entity, int style) {
|
|
35 |
SingleSourcedEntityBase entity, int style) {
|
|
37 | 36 |
selection_reference = formFactory |
38 | 37 |
.createSelectionElement(Reference.class,//getConversationHolder(), |
39 | 38 |
formElement, "Reference", |
Also available in: Unified diff
ref bug #9199: Adapt TaxEditor to switch to originalSource for remaining single sourced objects, ref #6581, #9194 adapt TaxEditor to ReferencedEntityBase removal (has open issues)