Revision e3a4a3ff
Added by Andreas Müller almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonWizard.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.taxeditor.newWizard; |
11 | 11 |
|
12 | 12 |
import eu.etaxonomy.cdm.api.service.ITaxonService; |
13 |
import eu.etaxonomy.cdm.model.name.NonViralName; |
|
14 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase; |
|
15 | 13 |
import eu.etaxonomy.cdm.model.name.TaxonNameFactory; |
16 | 14 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
17 | 15 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
30 | 28 |
@Override |
31 | 29 |
public void addPages() { |
32 | 30 |
addPage(new TaxonWizardPage(formFactory, getConversationHolder(), getEntity())); |
33 |
addPage(new NonViralNameWizardPage(formFactory, getConversationHolder(), (NonViralName) getEntity().getName()));
|
|
31 |
addPage(new NonViralNameWizardPage(formFactory, getConversationHolder(), getEntity().getName())); |
|
34 | 32 |
} |
35 | 33 |
|
36 | 34 |
/** {@inheritDoc} */ |
Also available in: Unified diff
ref #6446 merge taxon name subclasses in TaxEditor