name = taxon.getName();
TaxonRelationship rel = getEntity();
rel.setFromTaxon(taxon);
+ taxon.addTaxonRelation(rel);
setEntity(rel);
setTaxonBase(taxon);
// firePropertyChangeEvent(new CdmPropertyChangeEvent(this, null));
detailElement.firePropertyChangeEvent(new CdmPropertyChangeEvent(detailElement, null));
- EventUtility.postEvent(WorkbenchEventConstants.REFRESH_TAXON_DETAILS, true);
+ EventUtility.postEvent(WorkbenchEventConstants.REFRESH_DETAILS, true);
EventUtility.postEvent(WorkbenchEventConstants.REFRESH_SUPPLEMENTAL, true);
EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAME_EDITOR, rel.getToTaxon());
((TaxonRelationshipDetailElement)detailElement).getTaxonElement().setSelected(true);;