Not in Use in new Version
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / core / XDebugVariable.java
diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/core/XDebugVariable.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/core/XDebugVariable.java
deleted file mode 100644 (file)
index 03d7dd0..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Created on 23.11.2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package net.sourceforge.phpeclipse.xdebug.core;
-
-import org.eclipse.debug.core.DebugException;
-import org.eclipse.debug.core.model.IValue;
-import org.eclipse.debug.core.model.IVariable;
-
-/**
- * @author Axel
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class XDebugVariable  extends XDebugElement implements IVariable {
-       
-       // name & stack frmae
-       private String fName;
-       private XDebugStackFrame fFrame;
-       
-       /**
-        * Constructs a variable contained in the given stack frame
-        * with the given name.
-        * 
-        * @param frame owning stack frame
-        * @param name variable name
-        */
-       public XDebugVariable(XDebugStackFrame frame, String name) {
-               super((XDebugTarget) frame.getDebugTarget());
-               fFrame = frame;
-               fName = name;
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IVariable#getValue()
-        */
-       public IValue getValue() throws DebugException {
-               return ((XDebugTarget)getDebugTarget()).getVariableValue(this);
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IVariable#getName()
-        */
-       public String getName() throws DebugException {
-               return fName;
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IVariable#getReferenceTypeName()
-        */
-       public String getReferenceTypeName() throws DebugException {
-               // TODO Auto-generated method stub
-               return "Thing";
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IVariable#hasValueChanged()
-        */
-       public boolean hasValueChanged() throws DebugException {
-               // TODO Auto-generated method stub
-               return false;
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IValueModification#setValue(java.lang.String)
-        */
-       public void setValue(String expression) throws DebugException {
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IValueModification#setValue(org.eclipse.debug.core.model.IValue)
-        */
-       public void setValue(IValue value) throws DebugException {
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IValueModification#supportsValueModification()
-        */
-       public boolean supportsValueModification() {
-               return false;
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IValueModification#verifyValue(java.lang.String)
-        */
-       public boolean verifyValue(String expression) throws DebugException {
-               return false;
-       }
-       /* (non-Javadoc)
-        * @see org.eclipse.debug.core.model.IValueModification#verifyValue(org.eclipse.debug.core.model.IValue)
-        */
-       public boolean verifyValue(IValue value) throws DebugException {
-               return false;
-       }
-       
-       /**
-        * Returns the stack frame owning this variable.
-        * 
-        * @return the stack frame owning this variable
-        */
-       protected XDebugStackFrame getStackFrame() {
-               return fFrame;
-       }
-
-}