Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2015-01-09 03:31:02 -0500
committerTobias Schwarz2015-01-09 03:31:02 -0500
commit0f1417adb79ef17c5422dcfb07305cca579730bd (patch)
treed06017b7f8d7c8473c0ccd28daec5480a6332a3a
parentba196dfad5065c913c814e9791d3855be6df8c0e (diff)
downloadorg.eclipse.tcf-0f1417adb79ef17c5422dcfb07305cca579730bd.tar.gz
org.eclipse.tcf-0f1417adb79ef17c5422dcfb07305cca579730bd.tar.xz
org.eclipse.tcf-0f1417adb79ef17c5422dcfb07305cca579730bd.zip
SM: use delegating label provider to avoid illegal thread access
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/search/ProcessSearchable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/search/ProcessSearchable.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/search/ProcessSearchable.java
index 62b27f201..2590bd041 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/search/ProcessSearchable.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/search/ProcessSearchable.java
@@ -20,10 +20,10 @@ import org.eclipse.tcf.te.runtime.services.ServiceUtils;
import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerNode;
import org.eclipse.tcf.te.tcf.processes.core.model.interfaces.runtime.IRuntimeModel;
import org.eclipse.tcf.te.tcf.processes.ui.interfaces.IProcessMonitorUIDelegate;
-import org.eclipse.tcf.te.tcf.processes.ui.navigator.runtime.LabelProviderDelegate;
import org.eclipse.tcf.te.tcf.processes.ui.nls.Messages;
import org.eclipse.tcf.te.ui.interfaces.ISearchable;
import org.eclipse.tcf.te.ui.utils.CompositeSearchable;
+import org.eclipse.tcf.te.ui.views.navigator.DelegatingLabelProvider;
/**
* The ISearchable adapter for a ProcessTreeNode which creates a UI for the user to
@@ -31,7 +31,7 @@ import org.eclipse.tcf.te.ui.utils.CompositeSearchable;
*/
public class ProcessSearchable extends CompositeSearchable {
// The label provider used to get a text for a process.
- ILabelProvider labelProvider = new LabelProviderDelegate();
+ ILabelProvider labelProvider = new DelegatingLabelProvider();
/**
* Constructor

Back to the top