import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
import eu.etaxonomy.taxeditor.ui.combo.EnumComboElement;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.GatheringEventUnitElement;
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
import eu.etaxonomy.taxeditor.ui.element.LanguageStringWithLabelElement;
+import eu.etaxonomy.taxeditor.ui.element.MinMaxTextSection;
import eu.etaxonomy.taxeditor.ui.element.NumberWithLabelElement;
import eu.etaxonomy.taxeditor.ui.element.PointElement;
import eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement;
private TextWithLabelElement text_collectingNumber;
private EntitySelectionElement<Collection> selection_collection;
private TextWithLabelElement text_accessionNumber;
+ private GatheringEventUnitElement element_elevation;
+
/**
entity.getLocality(), style);
element_point = formFactory.createPointElement(formElement,
entity.getExactLocation(), style);
+ element_elevation = formFactory.createGatheringEventUnitElement(
+ formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION, style);
+
element_date = formFactory.createTimePeriodElement(formElement, "Date",
entity.getGatheringPeriod(), style);
selection_collector = formFactory
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
import eu.etaxonomy.taxeditor.ui.combo.EnumComboElement;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.GatheringEventUnitElement;
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
import eu.etaxonomy.taxeditor.ui.element.LanguageStringWithLabelElement;
+import eu.etaxonomy.taxeditor.ui.element.MinMaxTextSection;
import eu.etaxonomy.taxeditor.ui.element.NumberWithLabelElement;
import eu.etaxonomy.taxeditor.ui.element.PointElement;
import eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement;
private TimePeriodElement element_date;
private EntitySelectionElement<AgentBase> selection_collector;
private TextWithLabelElement text_collectingNumber;
+ private GatheringEventUnitElement element_elevation;
/**
* @param formFactory
languageText_locality = formFactory.createLanguageStringWithLabelElement(formElement, "Locality",
entity.getLocality(), style);
element_point = formFactory.createPointElement(formElement, entity.getExactLocation(), style);
+ element_elevation = formFactory.createGatheringEventUnitElement(
+ formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION, style);
+
element_date = formFactory.createTimePeriodElement(formElement, "Date", entity.getGatheringPeriod(), style);
selection_collector = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement,
"Collector", entity.getCollector(), EntitySelectionElement.ALL, style);
private GatheringEventUnitElement element_distToWater;
- private MinMaxTextSection section_minMaxText;
-
private TextWithLabelElement text_collectingMethod;
private TextWithLabelElement text_gatheringEventDescription;
// exactLocation
- text_gatheringEventDescription = formFactory.createTextWithLabelElement(formElement, "Gathering Event Description", entity.getGatheringEventDescription(), style);
- element_elevation = formFactory.createGatheringEventUnitElement(
- formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION, style);
+ text_gatheringEventDescription = formFactory.createTextWithLabelElement(
+ formElement, "Gathering Event Description", entity.getGatheringEventDescription(), style);
+// element_elevation = formFactory.createGatheringEventUnitElement(
+// formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION, style);
element_distToGround = formFactory.createGatheringEventUnitElement(