More refactory on variable/value model.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugValue.java
index 62f9347..057d217 100644 (file)
@@ -3,33 +3,15 @@ package net.sourceforge.phpeclipse.xdebug.php.model;
 import org.w3c.dom.Node;
 
 public class XDebugValue extends XDebugAbstractValue {
-
-       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 XDebugValue(XDebugStackFrame variable, Node value) {
+               super(variable, value);
        }
        
        public void renderValueString(String data) {
+               fValueString = "uninitialized";
        }
 
        public boolean verifyValue(String expression) {
                return false;
        }
-
-}
+}
\ No newline at end of file