reordered sections in detail view
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / view / detail / DetailsViewer.java
index f9184b14bf7fc13116151eeca828dca8ce23d0e2..3f2143547b412ac6ebe34ddfeb64f69242fdf8b4 100644 (file)
@@ -721,6 +721,13 @@ public class DetailsViewer extends AbstractCdmDataViewer {
                 .createCdmDetailSection(DetailType.POLYTOMOUS_KEY,
                         getConversationHolder(), parent, this, Section.TWISTIE
                                 | Section.COMPACT);
+        
+        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
+        
+        PolytomousKeyNodeDetailSection polytomousKeyNodeDetailSection = (PolytomousKeyNodeDetailSection) formFactory
+                .createCdmDetailSection(DetailType.POLYTOMOUS_KEY_NODE,
+                        getConversationHolder(), parent, this, Section.TWISTIE
+                                | Section.EXPANDED);
 
         formFactory.createHorizontalSeparator(parent, SWT.BORDER);
 
@@ -738,14 +745,7 @@ public class DetailsViewer extends AbstractCdmDataViewer {
 
         TaxonomicScopeSection taxonomicScopeSection = (TaxonomicScopeSection) formFactory
                 .createEntityDetailSection(EntityDetailType.TAXONOMIC_SCOPE,
-                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);
-        
-        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-        
-               PolytomousKeyNodeDetailSection polytomousKeyNodeDetailSection = (PolytomousKeyNodeDetailSection) formFactory
-                               .createCdmDetailSection(DetailType.POLYTOMOUS_KEY_NODE,
-                                               getConversationHolder(), parent, this, Section.TWISTIE
-                                                               | Section.EXPANDED);
+                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);        
 
            addPart(polytomousKeyDetailSection);
            addPart(geographicalScopeDetailSection);