Project

General

Profile

« Previous | Next » 

Revision 15011fb1

Added by Cherian Mathew over 11 years ago

Added supplemental data related to Polytomous Keys, corresponding to those for objects of type IdentifiableEntity

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java
237 237
			createFeatureDistributionSection(rootElement);
238 238

  
239 239
		} else if (getInput() instanceof PolytomousKey) {
240
			createPolytomousKeySection(rootElement);
240
			//createPolytomousKeySection(rootElement);
241 241

  
242 242
		} else if ((getInput() instanceof PolytomousKeyNode)
243 243
				|| (getInput() instanceof PolytomousKeyRelationship)) {
......
720 720
        PolytomousKeyDetailSection polytomousKeyDetailSection = (PolytomousKeyDetailSection) formFactory
721 721
                .createCdmDetailSection(DetailType.POLYTOMOUS_KEY,
722 722
                        getConversationHolder(), parent, this, Section.TWISTIE
723
                                | Section.COMPACT);
723
                               | Section.COMPACT);
724 724
        
725 725
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
726 726
        
......
729 729
                        getConversationHolder(), parent, this, Section.TWISTIE
730 730
                                | Section.EXPANDED);
731 731

  
732
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
733

  
734
        GeographicalScopeDetailSection geographicalScopeDetailSection = (GeographicalScopeDetailSection) formFactory
735
                .createEntityDetailSection(EntityDetailType.GEOGRAPHICAL_SCOPE,
736
                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);
737

  
738
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
739

  
740
        ScopeRestrictionSection scopeRestrictionSection = (ScopeRestrictionSection) formFactory
741
                .createEntityDetailSection(EntityDetailType.SCOPE_RESTRICTION,
742
                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);
743

  
744
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
745

  
746
        TaxonomicScopeSection taxonomicScopeSection = (TaxonomicScopeSection) formFactory
747
                .createEntityDetailSection(EntityDetailType.TAXONOMIC_SCOPE,
748
                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);        
732
//        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
733
//
734
//        GeographicalScopeDetailSection geographicalScopeDetailSection = (GeographicalScopeDetailSection) formFactory
735
//                .createEntityDetailSection(EntityDetailType.GEOGRAPHICAL_SCOPE,
736
//                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);
737
//
738
//        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
739
//
740
//        ScopeRestrictionSection scopeRestrictionSection = (ScopeRestrictionSection) formFactory
741
//                .createEntityDetailSection(EntityDetailType.SCOPE_RESTRICTION,
742
//                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);
743
//
744
//        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
745
//
746
//        TaxonomicScopeSection taxonomicScopeSection = (TaxonomicScopeSection) formFactory
747
//                .createEntityDetailSection(EntityDetailType.TAXONOMIC_SCOPE,
748
//                        getConversationHolder(), parent, Section.TWISTIE | Section.COMPACT);        
749 749

  
750 750
	    addPart(polytomousKeyDetailSection);
751
	    addPart(geographicalScopeDetailSection);
752
	    addPart(scopeRestrictionSection);
753
	    addPart(taxonomicScopeSection);
754
		addPart(polytomousKeyNodeDetailSection);
751
	    addPart(polytomousKeyNodeDetailSection);
752
//	    addPart(geographicalScopeDetailSection);
753
//	    addPart(scopeRestrictionSection);
754
//	    addPart(taxonomicScopeSection);
755

  
755 756
	}
756 757
	
757 758
	/**

Also available in: Unified diff