Fix variable view value modification and refactored XDebugAbstractValue and derived...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugValue.java
index 62f9347..3847ae6 100644 (file)
@@ -1,35 +1,12 @@
 package net.sourceforge.phpeclipse.xdebug.php.model;
 
+import org.eclipse.debug.core.DebugException;
 import org.w3c.dom.Node;
 
 public class XDebugValue extends XDebugAbstractValue {
+       public XDebugValue(XDebugStackFrame variable, Node value) throws DebugException {
+               super(variable, value);
 
-       public XDebugValue(XDebugVariable variable, Node varNode, String typeName) {
-               super(variable, varNode, typeName);
-               // TODO Auto-generated constructor stub
-               fValueString="uninitialized";
-               fType=XDebugAbstractValue.VALUETYPE_UNINITIALIZED;
-               fTypeName="unknown";
-
-       }
-       
-       public XDebugValue(XDebugVariable variable, String typeName) {
-               super(variable, typeName);
-               fValueString="uninitialized";
-               fType=XDebugAbstractValue.VALUETYPE_UNINITIALIZED;
-               fTypeName="unknown";
-
-       }
-
-
-       public void setType(String typeName) {
-       }
-       
-       public void renderValueString(String data) {
+               setValueString("uninitialized");
        }
-
-       public boolean verifyValue(String expression) {
-               return false;
-       }
-
-}
+}
\ No newline at end of file