Fixes #2488
authorn.hoffmann <n.hoffmann@localhost>
Wed, 29 Jun 2011 13:20:24 +0000 (13:20 +0000)
committern.hoffmann <n.hoffmann@localhost>
Wed, 29 Jun 2011 13:20:24 +0000 (13:20 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java

index 23a7d1db25742a01f5337b9550de04a6e5f5a4fa..6e4db38f83f4aaec41dd400bda5346e9343b33d0 100644 (file)
@@ -76,25 +76,27 @@ public class TaxonBaseDetailElement extends AbstractIdentifiableEntityDetailElem
                                "Title Cache", entity.getTitleCache(),
                                entity.isProtectedTitleCache(), style);
 
-               checkbox_doubtful = formFactory.createCheckbox(formElement,
-                               "Is doubtful", entity.isDoubtful(), style);
-               checkbox_useNameCache = formFactory.createCheckbox(formElement,
-                               "Exclude Authorship", entity.isUseNameCache(), style);
                selection_secundum = (ReferenceSelectionElement) formFactory
-                               .createSelectionElement(SelectionType.REFERENCE,
-                                               getConversationHolder(), formElement, "Secundum",
-                                               entity.getSec(), ReferenceSelectionElement.DEFAULT,
-                                               style);
+               .createSelectionElement(SelectionType.REFERENCE,
+                               getConversationHolder(), formElement, "Secundum",
+                               entity.getSec(), ReferenceSelectionElement.DEFAULT,
+                               style);
+               
                text_appendedPhrase = formFactory.createTextWithLabelElement(
                                formElement, "Appended Phrase", entity.getAppendedPhrase(),
                                SWT.NULL);
-
+               checkbox_useNameCache = formFactory.createCheckbox(formElement,
+                               "Exclude Authorship", entity.isUseNameCache(), style);
+               
                if (entity instanceof Taxon) {
                        checkbox_excluded = formFactory.createCheckbox(formElement,
-                                       "Is excluded", ((Taxon) entity).isExcluded(), style);
+                                       "Taxon is excluded", ((Taxon) entity).isExcluded(), style);
                        checkbox_unplaced = formFactory.createCheckbox(formElement,
-                                       "Is unplaced", ((Taxon) entity).isUnplaced(), style);
+                                       "Taxon is unplaced", ((Taxon) entity).isUnplaced(), style);
                }
+               
+               checkbox_doubtful = formFactory.createCheckbox(formElement,
+                               entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style);
        }
 
        /** {@inheritDoc} */