Fixes #2361
authorn.hoffmann <n.hoffmann@localhost>
Thu, 5 May 2011 09:38:22 +0000 (09:38 +0000)
committern.hoffmann <n.hoffmann@localhost>
Thu, 5 May 2011 09:38:22 +0000 (09:38 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/GeneralDetailElement.java

index 54c84b9e1b3f59a8d6896eea38c392a442cfcce8..91eb4e87a10ecdbfe7d894fb9dfd785e46654146 100644 (file)
@@ -42,7 +42,7 @@ public class GeneralDetailElement extends
        private NumberWithLabelElement number_elevation;
        private TimePeriodElement element_date;
        private AgentSelectionElement selection_collector;
        private NumberWithLabelElement number_elevation;
        private TimePeriodElement element_date;
        private AgentSelectionElement selection_collector;
-       private TextWithLabelElement text_fieldNumber;
+       private TextWithLabelElement text_collectingNumber;
        private CollectionSelectionElement selection_collection;
        private TextWithLabelElement text_barcode;
 
        private CollectionSelectionElement selection_collection;
        private TextWithLabelElement text_barcode;
 
@@ -87,8 +87,8 @@ public class GeneralDetailElement extends
                                                getConversationHolder(), formElement, "Collector",
                                                entity.getCollector(), AgentSelectionElement.DEFAULT,
                                                style);
                                                getConversationHolder(), formElement, "Collector",
                                                entity.getCollector(), AgentSelectionElement.DEFAULT,
                                                style);
-               text_fieldNumber = formFactory.createTextWithLabelElement(formElement,
-                               "Field Number", entity.getFieldNumber(), style);
+               text_collectingNumber = formFactory.createTextWithLabelElement(formElement,
+                               "Collecting number", entity.getFieldNumber(), style);
                selection_collection = (CollectionSelectionElement) formFactory
                                .createSelectionElement(SelectionType.COLLECTION,
                                                getConversationHolder(), formElement, "Collection",
                selection_collection = (CollectionSelectionElement) formFactory
                                .createSelectionElement(SelectionType.COLLECTION,
                                                getConversationHolder(), formElement, "Collection",
@@ -122,8 +122,8 @@ public class GeneralDetailElement extends
                        getEntity().setGatheringPeriod(element_date.getTimePeriod());
                } else if (eventSource == selection_collector) {
                        getEntity().setCollector(selection_collector.getSelection());
                        getEntity().setGatheringPeriod(element_date.getTimePeriod());
                } else if (eventSource == selection_collector) {
                        getEntity().setCollector(selection_collector.getSelection());
-               } else if (eventSource == text_fieldNumber) {
-                       getEntity().setFieldNumber(text_fieldNumber.getText());
+               } else if (eventSource == text_collectingNumber) {
+                       getEntity().setFieldNumber(text_collectingNumber.getText());
                } else if (eventSource == selection_collection) {
                        getEntity().setCollection(selection_collection.getSelection());
                } else if (eventSource == text_barcode) {
                } else if (eventSource == selection_collection) {
                        getEntity().setCollection(selection_collection.getSelection());
                } else if (eventSource == text_barcode) {