Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-12-12 16:58:51 -0500
committerEugene Tarassov2011-12-12 16:58:51 -0500
commit990d0f52a595dc4942a5ad51eae62fe01779d963 (patch)
treec2d533d84f0907b4401f8a05172373352cf44408
parentab5fe997529ec6f4b33e96053dd41505110e1ed0 (diff)
downloadorg.eclipse.tcf-990d0f52a595dc4942a5ad51eae62fe01779d963.tar.gz
org.eclipse.tcf-990d0f52a595dc4942a5ad51eae62fe01779d963.tar.xz
org.eclipse.tcf-990d0f52a595dc4942a5ad51eae62fe01779d963.zip
Bug 366124 - TCFModelProxy won't compile against Platform 3.8M4.
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModelProxy.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModelProxy.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModelProxy.java
index dcc5d3795..2b37168d5 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModelProxy.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModelProxy.java
@@ -19,8 +19,8 @@ import java.util.Map;
import java.util.Set;
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.debug.internal.ui.viewers.model.ITreeModelContentProviderTarget;
import org.eclipse.debug.internal.ui.viewers.model.ITreeModelViewer;
+import org.eclipse.debug.internal.ui.viewers.model.InternalTreeModelViewer;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IChildrenCountUpdate;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IChildrenUpdate;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
@@ -43,7 +43,6 @@ import org.eclipse.tm.tcf.protocol.Protocol;
* fires deltas to notify listeners of changes in the model.
* Model proxy listeners are debuggers views.
*/
-@SuppressWarnings("restriction")
public class TCFModelProxy extends AbstractModelProxy implements IModelProxy, Runnable {
private static final TCFNode[] EMPTY_NODE_ARRAY = new TCFNode[0];
@@ -427,7 +426,7 @@ public class TCFModelProxy extends AbstractModelProxy implements IModelProxy, Ru
asyncExec(new Runnable() {
boolean found;
public void run() {
- found = ((ITreeModelContentProviderTarget)getViewer()).findElementIndex(TreePath.EMPTY, launch) >= 0;
+ found = ((InternalTreeModelViewer)getViewer()).findElementIndex(TreePath.EMPTY, launch) >= 0;
Protocol.invokeLater(new Runnable() {
public void run() {
if (disposed) return;

Back to the top