Project

General

Profile

« Previous | Next » 

Revision d2d8e95d

Added by Cherian Mathew almost 11 years ago

refactored NumberWithLabelElement to a single constructor with java.lang.Number as argument

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameDetailElement.java
141 141
	private void createZoologicalNameParts(ICdmFormElement formElement, NonViralName nonViralName, int style){
142 142
		ZoologicalName zoologicalName = (ZoologicalName) nonViralName;
143 143
		text_breed = formFactory.createTextWithLabelElement(formElement, "Breed", zoologicalName.getBreed(), style);
144
		text_publicationYear = formFactory.createIntegerTextWithLabelElement(formElement, "Publication Year", zoologicalName.getPublicationYear(), style);
145
		text_originalPublicationYear = formFactory.createIntegerTextWithLabelElement(formElement, "Orig. Publication Year", zoologicalName.getOriginalPublicationYear(), style);
144
		text_publicationYear = formFactory.createNumberTextWithLabelElement(formElement, "Publication Year", zoologicalName.getPublicationYear(), style);
145
		text_originalPublicationYear = formFactory.createNumberTextWithLabelElement(formElement, "Orig. Publication Year", zoologicalName.getOriginalPublicationYear(), style);
146 146
	}
147 147
	
148 148
	private void createGenusOrUninomialControls(ICdmFormElement element, NonViralName nonViralName, int style){		

Also available in: Unified diff