Remove unused methods: net.sourceforge.phpeclipse.xdebug.php.model.XDebugVariable...
authorincastrix <incastrix>
Tue, 16 Sep 2008 14:52:45 +0000 (14:52 +0000)
committerincastrix <incastrix>
Tue, 16 Sep 2008 14:52:45 +0000 (14:52 +0000)
net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugElement.java
net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugVariable.java

index 61ba588..c84a976 100644 (file)
@@ -10,7 +10,7 @@ import net.sourceforge.phpeclipse.xdebug.php.launching.IXDebugConstants;
 //import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.PlatformObject;
 import org.eclipse.debug.core.DebugEvent;
-import org.eclipse.debug.core.DebugException;
+//import org.eclipse.debug.core.DebugException;
 import org.eclipse.debug.core.DebugPlugin;
 import org.eclipse.debug.core.ILaunch;
 import org.eclipse.debug.core.model.IDebugElement;
@@ -24,7 +24,7 @@ import org.eclipse.debug.core.model.IDebugTarget;
 public class XDebugElement extends PlatformObject implements IDebugElement {
                
        // containing target 
-       protected XDebugTarget fTarget;
+       protected/*private*/ XDebugTarget fTarget;
        
        /**
         * Constructs a new debug element contained in the given
@@ -53,10 +53,6 @@ public class XDebugElement extends PlatformObject implements IDebugElement {
                return fTarget;
        }
        
-       public void setDebugTarget(XDebugTarget target) {
-               fTarget=target;
-       }
-
        /* (non-Javadoc)
         * @see org.eclipse.debug.core.model.IDebugElement#getLaunch()
         */
@@ -73,12 +69,12 @@ public class XDebugElement extends PlatformObject implements IDebugElement {
                return super.getAdapter(adapter);
        }
        
-       protected void abort(String message, Throwable e) throws DebugException {
+       //protected void abort(String message, Throwable e) throws DebugException {
 /*     Axel auskommentiert
                throw new DebugException(new Status(IStatus.ERROR, DebugExamplesPlugin.getDefault().getDescriptor().getUniqueIdentifier(), 
                                DebugPlugin.INTERNAL_ERROR, message, e));
 */
-               }
+               //}
        
        /**
         * Fires a debug event
index 9c289a0..d0e9062 100644 (file)
@@ -22,7 +22,7 @@ import org.w3c.dom.Node;
  * Window - Preferences - Java - Code Style - Code Templates
  */
 public class XDebugVariable  extends XDebugElement implements IVariable/*, IWatchExpressionFactoryAdapter*/ {
-       public static final int VARTYPE_UNKNOWN = -1;
+       /*public static final int VARTYPE_UNKNOWN = -1;
        public static final int VARTYPE_UNINITIALIZED = 0;
        public static final int VARTYPE_STRING = 1;
        public static final int VARTYPE_INT = 2;
@@ -30,7 +30,7 @@ public class XDebugVariable  extends XDebugElement implements IVariable/*, IWatc
        public static final int VARTYPE_ARRAY = 8;
        public static final int VARTYPE_HASH = 9;
        public static final int VARTYPE_OBJECT = 10;
-       public static final int VARTYPE_RESOURCE = 11;
+       public static final int VARTYPE_RESOURCE = 11;*/
        
        private int fNumChildren;
        private String fName;
@@ -172,11 +172,6 @@ public class XDebugVariable  extends XDebugElement implements IVariable/*, IWatc
                return fFrame;
        }
        
-       public void setStackFrame(XDebugStackFrame frame) {
-               fFrame = frame;
-               super.setDebugTarget((XDebugTarget) frame.getDebugTarget());
-       }
-
 //     public int getType() {
 //             return fType;
 //     }