Revision 49a64920
Added by Cherian Mathew almost 11 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewDerivedUnitBaseWizard.java | ||
---|---|---|
13 | 13 |
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade; |
14 | 14 |
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacadeNotSupportedException; |
15 | 15 |
import eu.etaxonomy.cdm.api.service.IOccurrenceService; |
16 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase; |
|
17 |
import eu.etaxonomy.cdm.model.occurrence.Specimen; |
|
16 |
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit; |
|
18 | 17 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
19 | 18 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
20 | 19 |
import eu.etaxonomy.taxeditor.ui.section.occurrence.DerivedUnitBaseWizardPage; |
... | ... | |
29 | 28 |
* @created Jun 16, 2010 |
30 | 29 |
* @version 1.0 |
31 | 30 |
*/ |
32 |
public class NewDerivedUnitBaseWizard extends AbstractNewEntityWizard<DerivedUnitBase> {
|
|
31 |
public class NewDerivedUnitBaseWizard extends AbstractNewEntityWizard<DerivedUnit> { |
|
33 | 32 |
|
34 | 33 |
/** {@inheritDoc} */ |
35 | 34 |
@Override |
... | ... | |
57 | 56 |
*/ |
58 | 57 |
/** {@inheritDoc} */ |
59 | 58 |
@Override |
60 |
protected DerivedUnitBase createNewEntity() {
|
|
59 |
protected DerivedUnit createNewEntity() { |
|
61 | 60 |
// TODO we do want to create different derivates of DerivedUnitBase but go with specimen for testing |
62 | 61 |
// at the moment |
63 | 62 |
// FIXME add wizard page that handles the selection of derived unit type |
64 |
return Specimen.NewInstance(); |
|
63 |
//FIXME:3.3MC |
|
64 |
return DerivedUnit.NewInstance(); |
|
65 | 65 |
} |
66 | 66 |
|
67 | 67 |
/* (non-Javadoc) |
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.