Revision 49a64920
Added by Cherian Mathew almost 11 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DerivedUnitElement.java | ||
---|---|---|
12 | 12 |
|
13 | 13 |
import org.eclipse.swt.events.SelectionListener; |
14 | 14 |
|
15 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase;
|
|
15 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit; |
|
16 | 16 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; |
17 | 17 |
import eu.etaxonomy.taxeditor.ui.element.AbstractFormSection; |
18 | 18 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
... | ... | |
32 | 32 |
public class DerivedUnitElement extends |
33 | 33 |
AbstractEntityCollectionElement<SpecimenOrObservationBase> { |
34 | 34 |
|
35 |
private EntitySelectionElement<DerivedUnitBase> selection_derivedUnit;
|
|
35 |
private EntitySelectionElement<DerivedUnit> selection_derivedUnit; |
|
36 | 36 |
|
37 | 37 |
/** |
38 | 38 |
* <p> |
... | ... | |
71 | 71 |
@Override |
72 | 72 |
public void createControls(ICdmFormElement element, int style) { |
73 | 73 |
selection_derivedUnit = formFactory.createSelectionElement( |
74 |
DerivedUnitBase.class, getConversationHolder(), element,
|
|
74 |
DerivedUnit.class, getConversationHolder(), element, |
|
75 | 75 |
"Specimen", null, EntitySelectionElement.SELECTABLE | EntitySelectionElement.EDITABLE, |
76 | 76 |
style); |
77 | 77 |
} |
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.