Project

General

Profile

« Previous | Next » 

Revision 8e0e024c

Added by Katja Luther over 5 years ago

ref #7761: invalid designations are displayed in name editor and details view like MAN

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java
738 738
    @Inject
739 739
    @Optional
740 740
    private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_NAME_EDITOR)CdmBase cdmbase){
741
        if (cdmbase == null){
742
            return;
743
        }
741 744

  
745
        if (EventUtility.getTaxonEditor() == null){
746
            return;
747
        }
748
        if (this.taxon == null){
749
            return;
750
        }
742 751
        if (EventUtility.getTaxonEditor().equals(this) || (this.taxon.equals(cdmbase) || this.taxon.getName().equals(cdmbase))){
743 752
            this.redraw(false, true, true, true);
744 753
            this.setDirty();
......
754 763
    @Optional
755 764
    private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_NAME_EDITOR)UUID cdmbaseUuid){
756 765

  
757
        if (this.taxon.getUuid().equals(cdmbaseUuid)){
766
        if (this.taxon.getUuid().equals(cdmbaseUuid) ){
758 767
            TaxonEditorInputE4 input = TaxonEditorInputE4.NewInstanceFromTaxonBase(cdmbaseUuid);
759 768
            init(input);
760 769
        }
770

  
761 771
    }
762 772

  
763 773
    @Inject

Also available in: Unified diff