fix #5922 Move credits and rights section to the bottom
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 6 Jan 2017 07:39:55 +0000 (08:39 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 6 Jan 2017 07:39:55 +0000 (08:39 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/supplementaldata/SupplementalDataViewer.java

index 052aa888cbc77e695f1f6b572196729d0891bd6b..b0a9525a5831bd37a140cd7f800a6b6cc3829467 100644 (file)
@@ -148,29 +148,32 @@ public class SupplementalDataViewer extends AbstractCdmDataViewer implements ISe
     }
 
     private void createIdentifiableSections(RootElement parent) {
-        CreditSection creditSection = formFactory.createCreditSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+
+        ExtensionSection extensionSection = formFactory.createExtensionSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
 
         formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
-        ExtensionSection extensionSection = formFactory.createExtensionSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+        SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
 
         formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
-        RightsSection rightsSection = formFactory.createRightsSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+        IdentifierSection identifierSection = formFactory.createIdentifierDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
 
         formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
-        SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+        CreditSection creditSection = formFactory.createCreditSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+
+        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
+
+        RightsSection rightsSection = formFactory.createRightsSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
 
         formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
-        IdentifierSection identifierSection = formFactory.createIdentifierDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
-        
-        addPart(creditSection);
         addPart(extensionSection);
-        addPart(rightsSection);
         addPart(sourceSection);
         addPart(identifierSection);
+        addPart(creditSection);
+        addPart(rightsSection);
 
        }
 
@@ -213,7 +216,7 @@ public class SupplementalDataViewer extends AbstractCdmDataViewer implements ISe
                        setInput(selection.getFirstElement());
                }
        }
-       
+
        @Override
        public void update(CdmDataChangeMap arg0) {
        }