ref #7117: misappliedName details: remove doubled taxon informations, add choose...
authorKatja Luther <k.luther@bgbm.org>
Thu, 7 Dec 2017 09:55:59 +0000 (10:55 +0100)
committerKatja Luther <k.luther@bgbm.org>
Thu, 7 Dec 2017 09:55:59 +0000 (10:55 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java

index d4763904c0db4d012057c2d893b25adf998f31b9..dfaaec7dd5458b62648b6864ea20804c22a3cb53 100644 (file)
@@ -74,13 +74,13 @@ public class TaxonRelationshipDetailElement extends AbstractCdmDetailElement<Tax
                        checkBoxDoubtful = formFactory.createCheckbox(formElement, "Relation is doubtful", entity.isDoubtful(), style);
                }else{
                        taxon = entity.getFromTaxon();
-                       toggleable_cache = formFactory.createToggleableTextField(formElement,
-                                       "Title Cache", taxon.getTitleCache(),
-                                       taxon.isProtectedTitleCache(), style);
-
-                       text_appendedPhrase = formFactory.createTextWithLabelElement(
-                                       formElement, "Appended Phrase", taxon.getAppendedPhrase(),
-                                       SWT.WRAP);
+//                     toggleable_cache = formFactory.createToggleableTextField(formElement,
+//                                     "Title Cache", taxon.getTitleCache(),
+//                                     taxon.isProtectedTitleCache(), style);
+//
+//                     text_appendedPhrase = formFactory.createTextWithLabelElement(
+//                                     formElement, "Appended Phrase", taxon.getAppendedPhrase(),
+//                                     SWT.WRAP);
 
 
                        taxonElement = formFactory.createTaxonDetailSection(getConversationHolder(), formElement, null, style);
index c900f9bec6c553337e08c0b7c66a00e964204dde..aa896d7c465e61659ebb2db420c59e19c4b4883b 100755 (executable)
@@ -793,11 +793,12 @@ public class DetailsViewerE4 extends AbstractCdmDataViewerE4 {
 
         TaxonRelationshipDetailSection taxonRelationshipDetailSection = formFactory.createTaxonRelationshipDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
 
+        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
         addPart(taxonRelationshipDetailSection);
 
         NonViralNameDetailSection nonViralNameSection = formFactory
-                .createNonViralNameDetailSection(getConversationHolder(), parent, this, false,
+                .createNonViralNameDetailSection(getConversationHolder(), parent, this, true,
                         ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
         addPart(nonViralNameSection);