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.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/NaturalLanguageDetailElement.java
26 26
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
27 27
import eu.etaxonomy.taxeditor.store.CdmStore;
28 28
import eu.etaxonomy.taxeditor.store.StoreUtil;
29
import eu.etaxonomy.taxeditor.store.singlesource.widget.DisplayProxy;
29 30
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
30 31
import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
31 32
import eu.etaxonomy.taxeditor.ui.forms.LabelElement;
......
84 85
		private TaxonDescription entity;
85 86
		private NaturalLanguageGenerator generator = new NaturalLanguageGenerator();
86 87
		private FeatureTree featureTree = PreferencesUtil.getDefaultFeatureTreeForStructuredDescription();
87
		private Display display = Display.getCurrent();
88
		private Display display = DisplayProxy.getDefault();
88 89
		
89 90
		public FetchNaturalLanguageDescriptionJob(String jobName, TaxonDescription entity){
90 91
			super(jobName);

Also available in: Unified diff