Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-07-20 18:21:21 -0400
committerrescobar2010-07-20 18:21:21 -0400
commit7e155fbfbdbc49d8606741b6a9a2bcc0ad550c42 (patch)
treefbb9dfc0b591cf5a9178884360a1420c83ac3938 /plugins/org.eclipse.osee.ote.ui.host.cmd
parenteab9e4bfa3e9c490485d3c4ec8247aaff41c675a (diff)
downloadorg.eclipse.osee-7e155fbfbdbc49d8606741b6a9a2bcc0ad550c42.tar.gz
org.eclipse.osee-7e155fbfbdbc49d8606741b6a9a2bcc0ad550c42.tar.xz
org.eclipse.osee-7e155fbfbdbc49d8606741b6a9a2bcc0ad550c42.zip
Displays cleanup
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui.host.cmd')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/TestServerConsoleServiceRenderer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/TestServerConsoleServiceRenderer.java b/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/TestServerConsoleServiceRenderer.java
index b7bb1badb4..738eaec8c9 100644
--- a/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/TestServerConsoleServiceRenderer.java
+++ b/plugins/org.eclipse.osee.ote.ui.host.cmd/src/org/eclipse/osee/ote/ui/host/cmd/TestServerConsoleServiceRenderer.java
@@ -61,9 +61,10 @@ public class TestServerConsoleServiceRenderer implements IServiceRenderer {
this.inputManager = new InputManager<TreeParent>();
}
+ @Override
public void refresh() {
- Display.getCurrent().asyncExec(new Runnable() {
-
+ Displays.ensureInDisplayThread(new Runnable() {
+ @Override
public void run() {
if (composite != null && !composite.isDisposed() && testService != null) {
cleanupService();

Back to the top