Change visibility of net.sourceforge.phpeclipse.xdebug.php.model.XDebugAbstractValue...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugStringValue.java
index 17168e3..841b9b7 100644 (file)
@@ -1,45 +1,22 @@
 package net.sourceforge.phpeclipse.xdebug.php.model;
 
+import org.eclipse.debug.core.DebugException;
 import org.w3c.dom.Node;
 
 public class XDebugStringValue extends XDebugAbstractValue {
-
-       private String fDataString;
-       public XDebugStringValue(XDebugVariable variable, Node varNode,
-                       String typeName) {
-               super(variable, varNode, typeName);
-               fDataString=null;
-       }
-       
-       public XDebugStringValue(XDebugVariable variable, String typeName) {
-               super(variable, typeName);
-               fDataString=null;
-       }
-
-
-       public void setType(String typeName) {
-               fType=XDebugAbstractValue.VALUETYPE_STRING;
-               fTypeName=typeName;
-
+       public XDebugStringValue(XDebugStackFrame variable, Node value) throws DebugException {
+               super(variable, value);
        }
 
        public void renderValueString(String data) {
-               fDataString=data;
-               fValueString="\""+data+"\"";
+               setValueString("\"" + data + "\"")/*fValueString = "\"" + data + "\""*/;
        }
 
        public boolean supportsValueModification() {
                return true;
        }
 
-       
-       public String toString() {
-               return fDataString;
-       }
-
        public boolean verifyValue(String expression) {
-               // TODO Auto-generated method stub
                return true;
        }
-
-}
+}
\ No newline at end of file