Project

General

Profile

« Previous | Next » 

Revision 0968b584

Added by Andreas Müller over 11 years ago

integrate 3.0.12 branch and adapt for 3.0.12 release

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/GeneralDetailElement.java
44 44
	private EntitySelectionElement<AgentBase> selection_collector;
45 45
	private TextWithLabelElement text_collectingNumber;
46 46
	private EntitySelectionElement<Collection> selection_collection;
47
	private TextWithLabelElement text_barcode;
47
	private TextWithLabelElement text_accessionNumber;
48 48

  
49 49
	/**
50 50
	 * @param formFactory
......
94 94
						getConversationHolder(), formElement, "Collection",
95 95
						entity.getCollection(),
96 96
						EntitySelectionElement.ALL, style);
97
		text_barcode = formFactory.createTextWithLabelElement(formElement,
98
				"Barcode", entity.getBarcode(), style);
97
		text_accessionNumber = formFactory.createTextWithLabelElement(
98
				formElement, "Accession Number", entity.getAccessionNumber(),
99
				style);
100
		
99 101
	}
100 102

  
101 103
	/*
......
127 129
			getEntity().setFieldNumber(text_collectingNumber.getText());
128 130
		} else if (eventSource == selection_collection) {
129 131
			getEntity().setCollection(selection_collection.getSelection());
130
		} else if (eventSource == text_barcode) {
131
			getEntity().setBarcode(text_barcode.getText());
132
		} else if (eventSource == text_accessionNumber) {
133
			getEntity().setAccessionNumber(text_accessionNumber.getText());
132 134
		}
133 135

  
134 136
		if (eventSource != toggleableText_titleCache) {

Also available in: Unified diff