fix order for common name inputs #2354
authorAndreas Müller <a.mueller@bgbm.org>
Wed, 29 Feb 2012 10:13:09 +0000 (10:13 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Wed, 29 Feb 2012 10:13:09 +0000 (10:13 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/detail/CommonNameDetailElement.java

index 64e95d95b2099262624cde63c0900c499774e9a0..2cf643d510af2f4d07e0bb3b4310d01d6a1bb954 100644 (file)
@@ -52,12 +52,13 @@ public class CommonNameDetailElement extends AbstractDetailedDescriptionDetailEl
        @Override
        protected void createControls(ICdmFormElement formElement,
                        CommonTaxonName entity, int style) {
+               commonName = formFactory.createTextWithLabelElement(this, "Common Name", entity.getName(), SWT.WRAP);
+
                combo_language = formFactory.createTermComboElement(Language.class, this, "Language", entity.getLanguage(), style);
 
                selection_namedArea = formFactory.createSelectionElement(NamedArea.class, getConversationHolder(),
                                formElement, "Area",
                                entity.getArea(), EntitySelectionElement.NOTHING, style);
-               commonName = formFactory.createTextWithLabelElement(this, "Common Name", entity.getName(), SWT.WRAP);
        }
 
        /** {@inheritDoc} */