Patches from user robekras to show the variables view
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / model / PHPThread.java
index 231119a..efc55ea 100644 (file)
@@ -24,11 +24,11 @@ import org.eclipse.debug.core.model.IThread;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.ui.model.IWorkbenchAdapter;
 
-public class PHPThread implements IThread {
+public class PHPThread extends PHPDebugElement implements IThread {
 
        private PHPStackFrame[] frames;
 
-       private IDebugTarget target;
+       private PHPDebugTarget target;
 
        private String name;
 
@@ -76,7 +76,8 @@ public class PHPThread implements IThread {
 
        private final State state = new State();
 
-       public PHPThread(IDebugTarget target, int id) {
+  public PHPThread (PHPDebugTarget target, int id) {
+               super (target);
                this.target = target;
                this.setId(id);
        }
@@ -119,7 +120,7 @@ public class PHPThread implements IThread {
                return target;
        }
 
-       public void setDebugTarget(IDebugTarget target) {
+       public void setDebugTarget(PHPDebugTarget target) {
                this.target = target;
        }