Revision 49a64920
Added by Cherian Mathew almost 11 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewNonViralNameWizard.java | ||
---|---|---|
38 | 38 |
@Override |
39 | 39 |
protected NonViralName createNewEntity() { |
40 | 40 |
NomenclaturalCode code = PreferencesUtil.getPreferredNomenclaturalCode(); |
41 |
if(code.equals(NomenclaturalCode.ICBN)){
|
|
41 |
if(code.equals(NomenclaturalCode.ICNAFP )){
|
|
42 | 42 |
return BotanicalName.NewInstance(null); |
43 | 43 |
}else if(code.equals(NomenclaturalCode.ICZN)){ |
44 | 44 |
return ZoologicalName.NewInstance(null); |
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.