Project

General

Profile

Revision 0a6d2b78

ID0a6d2b788d2a865783fb95a328da27724298d174
Parent 9be7822e
Child a9f5e493

Added by Katja Luther 11 months ago

fix update referencing objects view for term editor

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/referencingobjects/e4/ReferencingObjectsViewE4.java
62 62
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
63 63
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
64 64
import eu.etaxonomy.cdm.model.common.CdmBase;
65
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
66 65
import eu.etaxonomy.cdm.model.common.EventBase;
67 66
import eu.etaxonomy.cdm.model.common.Group;
68 67
import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
......
78 77
import eu.etaxonomy.cdm.model.reference.Reference;
79 78
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
80 79
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
80
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
81
import eu.etaxonomy.cdm.model.term.TermBase;
82
import eu.etaxonomy.cdm.persistence.dto.TermDto;
81 83
import eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsContentProvider;
82 84
import eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsLabelProvider;
83 85
import eu.etaxonomy.taxeditor.model.AbstractUtility;
......
416 418
	//	this.part = part;
417 419

  
418 420
		Object firstElement = selection.getFirstElement();
421
		if (firstElement instanceof TermDto){
422
		   TermDto termDto = (TermDto) firstElement;
423
		   updateReferencingObjects(termDto.getUuid(), TermBase.class );
424

  
425
		}
419 426
		if(firstElement instanceof TreeNode){
420 427
		    firstElement = ((TreeNode) firstElement).getValue();
421 428
		}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)