Revision 38ac93ba
Added by Katja Luther about 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java | ||
---|---|---|
219 | 219 |
|
220 | 220 |
|
221 | 221 |
// Redraw composite |
222 |
managedForm.reflow(true);
|
|
222 |
parent.pack();
|
|
223 | 223 |
managedForm.refresh(); |
224 |
managedForm.reflow(true); |
|
225 |
|
|
226 |
|
|
224 | 227 |
} |
225 | 228 |
|
226 | 229 |
@Override |
... | ... | |
727 | 730 |
private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_NAME_EDITOR)CdmBase cdmbase){ |
728 | 731 |
|
729 | 732 |
if (EventUtility.getTaxonEditor().equals(this) || (this.taxon.equals(cdmbase) || this.taxon.getName().equals(cdmbase))){ |
730 |
this.redraw(); |
|
733 |
this.redraw(false, true, true, true);
|
|
731 | 734 |
this.setDirty(); |
735 |
if (cdmbase instanceof TaxonBase){ |
|
736 |
this.selection = (TaxonBase) cdmbase; |
|
737 |
} |
|
738 |
|
|
732 | 739 |
|
733 | 740 |
} |
734 | 741 |
} |
... | ... | |
750 | 757 |
//check for match in type designations |
751 | 758 |
.anyMatch(unit->typeDesignationSpecimens.contains(unit))){ |
752 | 759 |
EditorUtil.updateEditor(this.input.getTaxonNode(), this); |
760 |
|
|
753 | 761 |
} |
754 | 762 |
|
755 | 763 |
|
Also available in: Unified diff
fix problem of grey block in name editor after changing from taxon of misappliedName relation