Revision e41cdd18
Added by Lutz Suhrbier almost 13 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/SimpleSelectionProvider.java | ||
---|---|---|
22 | 22 |
import org.eclipse.jface.viewers.StructuredSelection; |
23 | 23 |
import org.eclipse.swt.widgets.Display; |
24 | 24 |
|
25 |
import eu.etaxonomy.taxeditor.store.singlesource.widget.DisplayProxy; |
|
26 |
|
|
25 | 27 |
/** |
26 | 28 |
* <p>SimpleSelectionProvider class.</p> |
27 | 29 |
* |
... | ... | |
89 | 91 |
|
90 | 92 |
if(job == null){ |
91 | 93 |
final SelectionChangedEvent selectionChangedEvent = new SelectionChangedEvent(this, selection); |
92 |
final Display display = Display.getCurrent();
|
|
94 |
final Display display = DisplayProxy.getDefault();
|
|
93 | 95 |
job = new Job("Setting Selection"){ |
94 | 96 |
|
95 | 97 |
@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