Revision e41cdd18
Added by Lutz Suhrbier almost 13 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/datasource/CdmDataSourceViewPart.java | ||
---|---|---|
36 | 36 |
import org.eclipse.swt.layout.FillLayout; |
37 | 37 |
import org.eclipse.swt.widgets.Composite; |
38 | 38 |
import org.eclipse.swt.widgets.Control; |
39 |
import org.eclipse.swt.widgets.Display; |
|
40 | 39 |
import org.eclipse.swt.widgets.Menu; |
41 | 40 |
import org.eclipse.swt.widgets.Table; |
42 | 41 |
import org.eclipse.swt.widgets.TableColumn; |
... | ... | |
53 | 52 |
import eu.etaxonomy.taxeditor.model.IContextListener; |
54 | 53 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
55 | 54 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
55 |
import eu.etaxonomy.taxeditor.store.singlesource.widget.DisplayProxy; |
|
56 | 56 |
|
57 | 57 |
/** |
58 | 58 |
* <p>CdmDataSourceViewPart class.</p> |
... | ... | |
121 | 121 |
monitor.worked(1); |
122 | 122 |
} |
123 | 123 |
|
124 |
Display.getDefault().asyncExec(new Runnable() { |
|
124 |
DisplayProxy.getDefault().asyncExec(new Runnable() {
|
|
125 | 125 |
|
126 | 126 |
@Override |
127 | 127 |
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