Project

General

Profile

« Previous | Next » 

Revision c30cf437

Added by Patrick Plitzner over 6 years ago

ref #6905 enable supplemental view for bulk editor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/supplementaldata/SupplementalDataPartE4.java
22 22

  
23 23
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
24 24
import eu.etaxonomy.cdm.ext.occurrence.gbif.GbifResponse;
25
import eu.etaxonomy.cdm.model.common.ICdmBase;
25 26
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
26 27
import eu.etaxonomy.cdm.model.taxon.Taxon;
27 28
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
......
98 99
	            structuredSelection = new StructuredSelection(((GbifResponse)structuredSelection.getFirstElement()).getDerivedUnitFacade().innerDerivedUnit());
99 100
	        }
100 101

  
102
	        if(!(structuredSelection.getFirstElement() instanceof ICdmBase)){
103
	            showEmptyPage();
104
	            return;
105
	        }
101 106
	        showViewer(structuredSelection, activePart, viewer);
102 107
	        return;
103 108
	    }

Also available in: Unified diff