X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/bec9df5af7423ad65819c1ecc92f9f0bf61225ba..fe61f73d8387bbfcd82c7c073746e62cc96af787:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/PointElement.java diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/PointElement.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/PointElement.java index 9dd0a9c67..5ad3ae4ec 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/PointElement.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/PointElement.java @@ -1,9 +1,9 @@ // $Id$ /** * Copyright (C) 2007 EDIT - * European Distributed Institute of Taxonomy + * European Distributed Institute of Taxonomy * http://www.e-taxonomy.eu - * + * * The contents of this file are subject to the Mozilla Public License Version 1.1 * See LICENSE.TXT at the top of this package for the full license terms. */ @@ -14,17 +14,17 @@ import java.text.ParseException; import org.eclipse.jface.util.PropertyChangeEvent; +import eu.etaxonomy.cdm.model.common.TermType; import eu.etaxonomy.cdm.model.location.Point; import eu.etaxonomy.cdm.model.location.ReferenceSystem; import eu.etaxonomy.taxeditor.preference.Resources; -import eu.etaxonomy.taxeditor.ui.campanula.compatibility.ICdmFormElement; import eu.etaxonomy.taxeditor.ui.combo.TermComboElement; /** *
* PointElement class. *
- * + * * @author n.hoffmann * @created Oct 15, 2010 * @version 1.0 @@ -47,7 +47,7 @@ public class PointElement extends AbstractCdmFormElement implements ** Constructor for PointElement. *
- * + * * @param formFactory * a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} * object. @@ -66,19 +66,18 @@ public class PointElement extends AbstractCdmFormElement implements formFactory.addPropertyChangeListener(this); text_latitude = formFactory.createTextWithLabelElement(formElement, - "Latitude (hexagesimal)", null, style); + "Latitude", null, style); text_latitudeParsed = formFactory.createTextWithLabelElement( formElement, "", null, style); text_latitudeParsed.setEnabled(false); text_longitude = formFactory.createTextWithLabelElement(formElement, - "Longitude (hexagesimal)", null, style); + "Longitude", null, style); text_longitudeParsed = formFactory.createTextWithLabelElement( formElement, "", null, style); text_longitudeParsed.setEnabled(false); number_errorRadius = formFactory.createNumberTextWithLabelElement( formElement, "Error Radius (m)", null, style); - combo_referenceSystem = formFactory - .createTermComboElement(ReferenceSystem.class, + combo_referenceSystem = formFactory.createDefinedTermComboElement(TermType.ReferenceSystem, formElement, "Reference System", null, style); setPoint(point); @@ -86,7 +85,7 @@ public class PointElement extends AbstractCdmFormElement implements /* * (non-Javadoc) - * + * * @see * eu.etaxonomy.taxeditor.forms.AbstractCdmFormElement#propertyChange(org * .eclipse.jface.util.PropertyChangeEvent) @@ -140,7 +139,7 @@ public class PointElement extends AbstractCdmFormElement implements /* * (non-Javadoc) - * + * * @see eu.etaxonomy.taxeditor.forms.IEntityElement#getEntity() */ /** {@inheritDoc} */ @@ -153,7 +152,7 @@ public class PointElement extends AbstractCdmFormElement implements ** setEntity *
- * + * * @param point * a {@link eu.etaxonomy.cdm.model.location.Point} object. */ @@ -165,7 +164,7 @@ public class PointElement extends AbstractCdmFormElement implements *
* Setter for the field point
.
*
* Getter for the field point
.
*