Revision 49a64920
Added by Cherian Mathew almost 11 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EditFromSelectionWizard.java | ||
---|---|---|
26 | 26 |
import eu.etaxonomy.cdm.model.common.User; |
27 | 27 |
import eu.etaxonomy.cdm.model.name.NonViralName; |
28 | 28 |
import eu.etaxonomy.cdm.model.occurrence.Collection; |
29 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase;
|
|
29 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit; |
|
30 | 30 |
import eu.etaxonomy.cdm.model.reference.Reference; |
31 | 31 |
import eu.etaxonomy.taxeditor.model.TextHelper; |
32 | 32 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
... | ... | |
95 | 95 |
addPage(new NonViralNameWizardPage(formFactory, |
96 | 96 |
selectionElement.getConversationHolder(), |
97 | 97 |
(NonViralName) entity)); |
98 |
} else if (entity instanceof DerivedUnitBase) {
|
|
98 |
} else if (entity instanceof DerivedUnit) { |
|
99 | 99 |
|
100 | 100 |
DerivedUnitFacade facade; |
101 | 101 |
try { |
102 | 102 |
facade = DerivedUnitFacade.NewInstance( |
103 |
(DerivedUnitBase) entity,
|
|
103 |
(DerivedUnit) entity, |
|
104 | 104 |
PreferencesUtil.getDerivedUnitConfigurator()); |
105 | 105 |
} catch (DerivedUnitFacadeNotSupportedException e) { |
106 | 106 |
// we should never get here |
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.