Project

General

Profile

« Previous | Next » 

Revision 49a64920

Added by Cherian Mathew almost 11 years ago

Aligning Editor with 3.3 model changes. First phase commit which updates only the classes.
Branch not compilable at the moment.

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldObservationDetailElement.java
11 11
package eu.etaxonomy.taxeditor.ui.section.occurrence;
12 12

  
13 13
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
14
import eu.etaxonomy.cdm.model.description.Sex;
15
import eu.etaxonomy.cdm.model.description.Stage;
14
import eu.etaxonomy.cdm.model.common.DefinedTerm;
16 15
import eu.etaxonomy.taxeditor.store.CdmStore;
17 16
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement;
18 17
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
......
40 39

  
41 40
	private NumberWithLabelElement number_individualCount;
42 41

  
43
	private TermComboElement<Sex> combo_sex;
42
	private TermComboElement<DefinedTerm> combo_sex;
44 43

  
45
	private TermComboElement<Stage> combo_lifeStage;
44
	private TermComboElement<DefinedTerm> combo_lifeStage;
46 45
	
47 46
	/**
48 47
	 * <p>Constructor for FieldObservationDetailElement.</p>
......
66 65
		text_fieldNotes = formFactory.createTextWithLabelElement(formElement, "Field Notes", entity.getFieldNotes(), style);
67 66
		
68 67
		number_individualCount = formFactory.createIntegerTextWithLabelElement(formElement, "Individual Count", entity.getIndividualCount(), style);
69
		combo_lifeStage = formFactory.createTermComboElement(Stage.class, formElement, "Life Stage", entity.getLifeStage(), style);
70
		combo_sex = formFactory.createTermComboElement(Sex.class, formElement, "Sex", entity.getSex(), style);
68
		//FIXME:3.3MC
69
		combo_lifeStage = formFactory.createTermComboElement(DefinedTerm.class, formElement, "Life Stage", entity.getLifeStage(), style);
70
		combo_sex = formFactory.createTermComboElement(DefinedTerm.class, formElement, "Sex", entity.getSex(), style);
71 71
	}
72 72

  
73 73
	/** {@inheritDoc} */

Also available in: Unified diff