ref #7715 re-enable source section in supplemental view for descriptions
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 26 Oct 2018 07:30:17 +0000 (09:30 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 26 Oct 2018 07:30:17 +0000 (09:30 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/supplementaldata/SupplementalDataViewerE4.java

index 4d6ebe9707ce1908d62d52e61773ce35e1c85e33..9551c4efb2f189eaa29aa8847417c05bed7fc5f0 100644 (file)
@@ -124,12 +124,9 @@ public class SupplementalDataViewerE4 extends AbstractCdmDataViewerE4 {
 
     private void createIdentifiableSections(RootElement parent) {
 
-        if(!(getInput() instanceof DescriptionBase)){
-            //sources are shown in DetailsView for Descriptions
-            SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
-            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-            addPart(sourceSection);
-        }
+        SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+
+        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
         IdentifierSection identifierSection = formFactory.createIdentifierDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
 
@@ -147,6 +144,7 @@ public class SupplementalDataViewerE4 extends AbstractCdmDataViewerE4 {
 
         formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
+        addPart(sourceSection);
         addPart(identifierSection);
         addPart(extensionSection);
         addPart(creditSection);