Project

General

Profile

« Previous | Next » 

Revision b0ce5b17

Added by Patrick Plitzner over 10 years ago

merged trunk into branch

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/GeneralDetailElement.java
1 1
// $Id$
2 2
/**
3 3
 * Copyright (C) 2007 EDIT
4
 * European Distributed Institute of Taxonomy 
4
 * European Distributed Institute of Taxonomy
5 5
 * http://www.e-taxonomy.eu
6
 * 
6
 *
7 7
 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 8
 * See LICENSE.TXT at the top of this package for the full license terms.
9 9
 */
......
62 62

  
63 63
	/*
64 64
	 * (non-Javadoc)
65
	 * 
65
	 *
66 66
	 * @see
67 67
	 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#createControls
68 68
	 * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, java.lang.Object, int)
......
82 82
				entity.getCountry(), EntitySelectionElement.NOTHING, style);
83 83
		languageText_locality = formFactory
84 84
				.createLanguageStringWithLabelElement(formElement, "Locality",
85
						entity.getLocality(), style);		
85
						entity.getLocality(), style);
86 86
		element_point = formFactory.createPointElement(formElement,
87 87
				entity.getExactLocation(), style);
88 88
		element_date = formFactory.createTimePeriodElement(formElement, "Date",
......
102 102
		text_accessionNumber = formFactory.createTextWithLabelElement(
103 103
				formElement, "Accession Number", entity.getAccessionNumber(),
104 104
				style);
105
		
105

  
106 106
	}
107 107

  
108 108
	/*
109 109
	 * (non-Javadoc)
110
	 * 
110
	 *
111 111
	 * @see
112 112
	 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#handleEvent(java
113 113
	 * .lang.Object)
......
132 132
			getEntity().setCollector(selection_collector.getSelection());
133 133
		} else if (eventSource == text_collectingNumber) {
134 134
			getEntity().setFieldNumber(text_collectingNumber.getText());
135
		} else if (eventSource == selection_collection) {
135
		}
136
		  else if (eventSource == selection_collection) {
136 137
			getEntity().setCollection(selection_collection.getSelection());
137 138
		} else if (eventSource == text_accessionNumber) {
138 139
			getEntity().setAccessionNumber(text_accessionNumber.getText());

Also available in: Unified diff