Revision aed321e2
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNavigator.java | ||
---|---|---|
526 | 526 |
public void onChange(CdmChangeEvent event) { |
527 | 527 |
for(CdmBase cb : event.getChangedObjects()) { |
528 | 528 |
if(cb instanceof TaxonNode) { |
529 |
getCommonViewer().refresh(cb); |
|
529 |
TaxonNode tn = (TaxonNode)cb; |
|
530 |
if(tn.getTaxon() == null) { |
|
531 |
getCommonViewer().refresh(tn.getClassification()); |
|
532 |
} else { |
|
533 |
getCommonViewer().refresh(cb); |
|
534 |
} |
|
530 | 535 |
} else if (cb instanceof Classification) { |
531 | 536 |
getCommonViewer().refresh(); |
532 | 537 |
} |
Also available in: Unified diff
#5139 Add refresh of classification when new taxon is direct child or root node