From eca1331f41b3f9c2894ade126a35fca7b9db17d9 Mon Sep 17 00:00:00 2001 From: Cherian Mathew Date: Mon, 5 Nov 2012 16:09:14 +0000 Subject: [PATCH] added taxonmic scope to polytomous key details --- .../taxeditor/view/detail/DetailsViewer.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java index 5793674d4..05574f256 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java @@ -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); } -- 2.34.1