Project

General

Profile

Revision eb6e490d

IDeb6e490de13b8ac980c7026884ad69bf1163a79d
Parent 7171015b
Child a35739ed

Added by Katja Luther almost 3 years ago

ref #7230: refresh of name editor and details view after changing taxon of misapplied name relationship

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java
24 24
import org.eclipse.core.runtime.IProgressMonitor;
25 25
import org.eclipse.core.runtime.OperationCanceledException;
26 26
import org.eclipse.e4.core.contexts.IEclipseContext;
27
import org.eclipse.e4.core.di.annotations.Optional;
27 28
import org.eclipse.e4.core.services.events.IEventBroker;
28 29
import org.eclipse.e4.ui.di.Focus;
29 30
import org.eclipse.e4.ui.di.Persist;
31
import org.eclipse.e4.ui.di.UIEventTopic;
30 32
import org.eclipse.e4.ui.model.application.ui.MDirtyable;
31 33
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
32 34
import org.eclipse.e4.ui.services.EMenuService;
......
707 709
        return this;
708 710
    }
709 711

  
712
    @Inject
713
    @Optional
714
    private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_NAME_EDITOR)boolean refresh){
715
        if(refresh){
716
            this.redraw();
717
            setDirty();
718
        }
719
    }
720

  
710 721
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)