Revision e41cdd18
Added by Lutz Suhrbier almost 13 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/datasource/CdmMetaDataAwareDataSourceContainer.java | ||
---|---|---|
19 | 19 |
import org.eclipse.core.runtime.Status; |
20 | 20 |
import org.eclipse.core.runtime.jobs.Job; |
21 | 21 |
import org.eclipse.jface.viewers.StructuredViewer; |
22 |
import org.eclipse.swt.widgets.Display; |
|
23 | 22 |
|
24 | 23 |
import eu.etaxonomy.cdm.database.ICdmDataSource; |
25 | 24 |
import eu.etaxonomy.cdm.model.common.CdmMetaData; |
26 | 25 |
import eu.etaxonomy.cdm.model.common.CdmMetaData.MetaDataPropertyName; |
27 | 26 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
27 |
import eu.etaxonomy.taxeditor.store.singlesource.widget.DisplayProxy; |
|
28 | 28 |
|
29 | 29 |
/** |
30 | 30 |
* <p>CdmMetaDataAwareDataSourceContainer class.</p> |
... | ... | |
62 | 62 |
} |
63 | 63 |
|
64 | 64 |
if(!monitor.isCanceled()){ |
65 |
Display.getDefault().asyncExec(new Runnable(){ |
|
65 |
DisplayProxy.getDefault().asyncExec(new Runnable(){
|
|
66 | 66 |
|
67 | 67 |
@Override |
68 | 68 |
public void run() { |
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