Project

General

Profile

« Previous | Next » 

Revision c5ed01f6

Added by Katja Luther almost 7 years ago

ref #6390: revert some changes and add DetailsViewPart changes

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java
771 771

  
772 772
        TaxonRelationshipDetailSection taxonRelationshipDetailSection = formFactory.createTaxonRelationshipDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
773 773

  
774
        ReferencedEntityDetailSection referencedEntityBaseDetailSection = formFactory.createReferencedEntityDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
774
       // ReferencedEntityDetailSection referencedEntityBaseDetailSection = formFactory.createReferencedEntityDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
775 775
        addPart(taxonRelationshipDetailSection);
776
        addPart(referencedEntityBaseDetailSection);
776
     //   addPart(referencedEntityBaseDetailSection);
777
        NonViralNameDetailSection nonViralNameSection = formFactory
778
                .createNonViralNameDetailSection(getConversationHolder(), parent, this, true,
779
                        ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
780
        addPart(nonViralNameSection);
781
//        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
782
//        //if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_REFERENCE))){
783
//        NomenclaturalReferenceDetailSection referenceDetailSection = formFactory.createNomenclaturalReferenceDetailSection(getConversationHolder(), parent, this,
784
//        		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
785
//        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
786
//        addPart(referenceDetailSection);
787

  
788
        //}
777 789
    }
778 790

  
779 791
    private void createTermVocabularySection(RootElement parent) {

Also available in: Unified diff