Project

General

Profile

« Previous | Next » 

Revision e41cdd18

Added by Lutz Suhrbier almost 13 years ago

Replaced any Display.getDefault() & Display,getCurrent() by DisplayProxy.getDefault() which is implemented in fragment store.rcp or store.rap respectively

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyViewPartDataChangeBehavior.java
22 22
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeEvent.EventType;
23 23
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
24 24
import eu.etaxonomy.taxeditor.model.AbstractDataChangeBehaviour;
25
import eu.etaxonomy.taxeditor.store.singlesource.widget.DisplayProxy;
25 26

  
26 27
/**
27 28
 * @author n.hoffmann
......
47 48
	@Override
48 49
	public void reactOnDataChange(CdmDataChangeMap changeEvents) {
49 50
		if(isRelevant(changeEvents)){
50
			final Display display = Display.getCurrent();
51
			final Display display = DisplayProxy.getDefault();
51 52
			Job job = new Job("Updating Polytomous Key Viewer") {
52 53
				
53 54
				@Override

Also available in: Unified diff