Revision e41cdd18
Added by Lutz Suhrbier almost 13 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/ExportManager.java | ||
---|---|---|
27 | 27 |
import eu.etaxonomy.cdm.io.sdd.out.SDDExportConfigurator; |
28 | 28 |
import eu.etaxonomy.taxeditor.model.CdmProgressMonitorAdapter; |
29 | 29 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
30 |
import eu.etaxonomy.taxeditor.store.singlesource.widget.DisplayProxy; |
|
30 | 31 |
|
31 | 32 |
/** |
32 | 33 |
* <p> |
... | ... | |
78 | 79 |
|
79 | 80 |
Assert.isNotNull(configurator, "Configuration may not be null"); |
80 | 81 |
|
81 |
final Display display = Display.getCurrent();
|
|
82 |
final Display display = DisplayProxy.getDefault();
|
|
82 | 83 |
|
83 | 84 |
Job job = new Job("Export: " + configurator.getClass().getSimpleName()) { |
84 | 85 |
@Override |
Also available in: Unified diff
Replaced any Display.getDefault() & Display,getCurrent() by DisplayProxy.getDefault() which is implemented in fragment store.rcp or store.rap respectively