Patches from user robekras to show the variables view
authoraxelcl <axelcl>
Tue, 4 Oct 2005 18:49:53 +0000 (18:49 +0000)
committeraxelcl <axelcl>
Tue, 4 Oct 2005 18:49:53 +0000 (18:49 +0000)
net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPStackFrame.java

index 380e0a7..b49de4e 100644 (file)
@@ -23,7 +23,7 @@ import org.eclipse.debug.core.model.IStackFrame;
 import org.eclipse.debug.core.model.IThread;
 import org.eclipse.debug.core.model.IVariable;
 
-public class PHPStackFrame implements IStackFrame {
+public class PHPStackFrame extends PHPDebugElement implements IStackFrame {
 
        private PHPThread thread;
        private String file;
@@ -34,6 +34,7 @@ public class PHPStackFrame implements IStackFrame {
        private String description;
 
        public PHPStackFrame(PHPThread thread, String file, int line, int index, String desc, int modno) {
+               super (null);
                this.lineNumber = line;
                this.index = index;
                this.file = file;
@@ -43,6 +44,7 @@ public class PHPStackFrame implements IStackFrame {
        }
 
        public PHPStackFrame(PHPThread thread, String file, int line, int index) {
+               super (null);
                this.lineNumber = line;
                this.index = index;
                this.file = file;
@@ -205,13 +207,6 @@ public class PHPStackFrame implements IStackFrame {
                getPHPDBGProxy().stop();
        }
 
-       public Object getAdapter(Class arg0) {
-               if (arg0==PHPStackFrame.class)
-                       return this;
-               else
-                       return null;
-       }
-
        public int getIndex() {
                return index;
        }