added taxonmic scope to polytomous key details
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / view / detail / DetailsViewer.java
index 5793674d4469d67a9ab8ce710fff4edd54fd92b6..05574f256d9b3b978863a0b3d6d911fff101236d 100644 (file)
@@ -729,8 +729,8 @@ public class DetailsViewer extends AbstractCdmDataViewer {
                         getConversationHolder(), parent, this, Section.TWISTIE
                                 | Section.EXPANDED);
 
-//        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-//
+        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
+
 //        GeographicalScopeDetailSection geographicalScopeDetailSection = (GeographicalScopeDetailSection) formFactory
 //                .createEntityDetailSection(EntityDetailType.GEOGRAPHICAL_SCOPE,
 //                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);
@@ -742,16 +742,16 @@ public class DetailsViewer extends AbstractCdmDataViewer {
 //                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);
 //
 //        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-//
-//        TaxonomicScopeSection taxonomicScopeSection = (TaxonomicScopeSection) formFactory
-//                .createEntityDetailSection(EntityDetailType.TAXONOMIC_SCOPE,
-//                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);        
+
+        TaxonomicScopeSection taxonomicScopeSection = (TaxonomicScopeSection) formFactory
+                .createEntityDetailSection(EntityDetailType.TAXONOMIC_SCOPE,
+                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);        
 
            addPart(polytomousKeyDetailSection);
            addPart(polytomousKeyNodeDetailSection);
 //         addPart(geographicalScopeDetailSection);
 //         addPart(scopeRestrictionSection);
-//         addPart(taxonomicScopeSection);
+           addPart(taxonomicScopeSection);
 
        }