Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2009-04-20 19:49:11 -0400
committereutarass2009-04-20 19:49:11 -0400
commit808a9d17719c7612afe551aea5796a481653a6ab (patch)
tree17d59ca26d18136ce50c09c8772c53ebd3d61339 /plugins/org.eclipse.tm.tcf.dsf.ui
parent851bca5c584001206952e2bfcec8f3ae1a38f6b3 (diff)
downloadorg.eclipse.tcf-808a9d17719c7612afe551aea5796a481653a6ab.tar.gz
org.eclipse.tcf-808a9d17719c7612afe551aea5796a481653a6ab.tar.xz
org.eclipse.tcf-808a9d17719c7612afe551aea5796a481653a6ab.zip
Updated files on TCF update site
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.dsf.ui')
-rw-r--r--plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/AdapterFactory.java3
-rw-r--r--plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/viewmodel/ExecutableContextLayoutNode.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/AdapterFactory.java b/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/AdapterFactory.java
index 90e55420e..6be73513f 100644
--- a/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/AdapterFactory.java
+++ b/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/AdapterFactory.java
@@ -47,6 +47,7 @@ import org.eclipse.tm.internal.tcf.dsf.launch.TCFDSFLaunch;
import org.eclipse.tm.internal.tcf.dsf.ui.actions.TcfTerminateCommand;
import org.eclipse.tm.internal.tcf.dsf.ui.viewmodel.ViewModelAdapter;
import org.eclipse.tm.tcf.protocol.Protocol;
+import org.eclipse.ui.PlatformUI;
@SuppressWarnings("restriction")
@@ -156,7 +157,7 @@ public class AdapterFactory implements IAdapterFactory, DsfSession.SessionEndedL
assert session_adapter_set_map.isEmpty();
DsfSession.addSessionEndedListener(this);
DebugPlugin.getDefault().getLaunchManager().addLaunchListener(this);
- final Display display = Display.getDefault();
+ final Display display = PlatformUI.getWorkbench().getDisplay();
display.asyncExec(new Runnable() {
public void run() {
final DisplayDsfExecutor executer = DisplayDsfExecutor.getDisplayDsfExecutor(display);
diff --git a/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/viewmodel/ExecutableContextLayoutNode.java b/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/viewmodel/ExecutableContextLayoutNode.java
index 74bac79ba..9b233e64a 100644
--- a/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/viewmodel/ExecutableContextLayoutNode.java
+++ b/plugins/org.eclipse.tm.tcf.dsf.ui/src/org/eclipse/tm/internal/tcf/dsf/ui/viewmodel/ExecutableContextLayoutNode.java
@@ -49,6 +49,7 @@ import org.eclipse.tm.internal.tcf.dsf.services.TCFDSFRunControl;
import org.eclipse.tm.internal.tcf.dsf.services.TCFDSFStack;
import org.eclipse.tm.tcf.protocol.Protocol;
import org.eclipse.tm.tcf.util.TCFDataCache;
+import org.eclipse.ui.PlatformUI;
@SuppressWarnings("restriction")
@@ -59,7 +60,7 @@ public class ExecutableContextLayoutNode extends AbstractDMVMNode implements IEl
}
private void doneViewerUpdate(final IViewerUpdate req) {
- Display.getDefault().asyncExec(new Runnable() {
+ PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
public void run() {
req.done();
}

Back to the top