Project

General

Profile

« Previous | Next » 

Revision b6a90c36

Added by Andreas Müller almost 4 years ago

ref #9078, ref #8857 adapt TaxEditor to extended CreateTaxonDTO

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeWizardPage.java
24 24
import eu.etaxonomy.taxeditor.newWizard.IWizardPageListener;
25 25
import eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard;
26 26
import eu.etaxonomy.taxeditor.parser.ParseHandler;
27
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
27 28
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage;
28 29
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
29 30
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
......
144 145
	    boolean isPublish = ((TaxonNodeDetailElement) getDetailElement()).is_publish();
145 146

  
146 147

  
147
	    CreateTaxonDTO createDto = new CreateTaxonDTO(nameUuid, secUuid,null,false, null,isPublish, taxonNameString);
148
	    CreateTaxonDTO createDto = new CreateTaxonDTO(nameUuid, secUuid,null,false, null,isPublish,
149
	            taxonNameString, PreferencesUtil.getPreferredNomenclaturalCode(), null);
148 150
//	    Taxon taxon;
149 151
//	    String taxonName = ((TaxonNodeDetailElement) getDetailElement()).getTaxonName();
150 152
//	    Reference reference = ((TaxonNodeDetailElement) getDetailElement()).getReference();

Also available in: Unified diff