Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / model / PHPThread.java
index 94feaf9..9c94fee 100644 (file)
@@ -101,9 +101,9 @@ public class PHPThread extends PHPDebugElement implements IThread {
                }
        }
 
-       public int getStackFramesSize () {
-               return frames.length;
-       }
+//     public int getStackFramesSize () {
+//             return frames.length;
+//     }
 
        public boolean hasStackFrames () {
                if (frames == null) {
@@ -136,9 +136,9 @@ public class PHPThread extends PHPDebugElement implements IThread {
                return target;
        }
 
-       public void setDebugTarget(PHPDebugTarget target) {
-               this.target = target;
-       }
+//     public void setDebugTarget(PHPDebugTarget target) {
+//             this.target = target;
+//     }
 
        public ILaunch getLaunch() {
                return this.getDebugTarget().getLaunch();
@@ -301,6 +301,7 @@ public class PHPThread extends PHPDebugElement implements IThread {
                state.setTerminated (true);
                this.frames = null;
                getDebugTarget ().terminate ();
+               fireTerminateEvent ();
        }
 
        /**
@@ -334,8 +335,7 @@ public class PHPThread extends PHPDebugElement implements IThread {
                                }
                        };
                }
-
-               return null;
+               return super.getAdapter(arg0);
        }
 
        /**