Project

General

Profile

« Previous | Next » 

Revision 4c154cfa

Added by Katja Luther about 6 years ago

name selection for supplemental data view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailSection.java
25 25
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants;
26 26
import eu.etaxonomy.taxeditor.model.ImageResources;
27 27
import eu.etaxonomy.taxeditor.model.MessagingUtils;
28
import eu.etaxonomy.taxeditor.remoting.CdmEagerLoadingException;
28 29
import eu.etaxonomy.taxeditor.ui.dialog.selection.NameSelectionDialog;
29 30
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
30 31
import eu.etaxonomy.taxeditor.ui.element.CdmPropertyChangeEvent;
......
117 118

  
118 119

  
119 120
	private boolean checkForMultipleNameUsages(INonViralName nonViralName) {
120
		return nonViralName.getTaxonBases().size() != 1;
121
	    try{
122
	        return nonViralName.getTaxonBases().size() != 1;
123
	    }catch (CdmEagerLoadingException e){
124
	        System.out.println(e.getLocalizedMessage());
125
	        return false;
126
	    }
121 127
	}
122 128

  
123 129
	/** {@inheritDoc} */

Also available in: Unified diff