Project

General

Profile

« Previous | Next » 

Revision dbe52ecb

Added by Cherian Mathew almost 11 years ago

SourceCollectionDetailSection : updated construction of DervivedUnit using SpecimenOrObservationType
SpecimenCollectionDetailSection : updated construction of DervivedUnit using SpecimenOrObservationType
GeneralDetailElement : added combo box to choose from known SpecimenOrObservationTypes
DerivedUnitBaseDetailElement : commenting out duplicates section for now until furthur discussion
GatheringEventDetailElement : FIXME3.3MC tags for the gathering event min,max,freetext updates

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/SpecimenCollectionDetailSection.java
15 15
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
16 16
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
17 17
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
18
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
18 19
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
19 20
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
20 21
import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection;
......
56 57
	 */
57 58
	/** {@inheritDoc} */
58 59
	@Override
59
	public DerivedUnit createNewElement() {
60
		return DerivedUnit.NewInstance();
60
	public DerivedUnit createNewElement() {		
61
		return DerivedUnit.NewInstance(SpecimenOrObservationType.PreservedSpecimen);		
61 62
	}
62 63

  
63 64
	/* (non-Javadoc)

Also available in: Unified diff