// Redraw composite
- managedForm.reflow(true);
+ parent.pack();
managedForm.refresh();
+ managedForm.reflow(true);
+
+
}
@Override
private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_NAME_EDITOR)CdmBase cdmbase){
if (EventUtility.getTaxonEditor().equals(this) || (this.taxon.equals(cdmbase) || this.taxon.getName().equals(cdmbase))){
- this.redraw();
+ this.redraw(false, true, true, true);
this.setDirty();
+ if (cdmbase instanceof TaxonBase){
+ this.selection = (TaxonBase) cdmbase;
+ }
+
}
}
//check for match in type designations
.anyMatch(unit->typeDesignationSpecimens.contains(unit))){
EditorUtil.updateEditor(this.input.getTaxonNode(), this);
+
}