Change visibility of net.sourceforge.phpeclipse.xdebug.php.model.XDebugAbstractValue...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugResourceValue.java
index 34faf17..2edb55f 100644 (file)
@@ -1,42 +1,20 @@
 package net.sourceforge.phpeclipse.xdebug.php.model;
 
+import org.eclipse.debug.core.DebugException;
 import org.w3c.dom.Node;
 
 public class XDebugResourceValue extends XDebugAbstractValue {
-       private String fDataString;
-       
-       public XDebugResourceValue(XDebugVariable variable, Node varNode, String typeName) {
-               super(variable, varNode, typeName);
-               fDataString=null;
-       }
-       
-       public XDebugResourceValue(XDebugVariable variable, String typeName) {
-               super(variable, typeName);
-               fDataString=null;
-       }
-
-
-       public void setType(String typeName) {
-               fType = XDebugAbstractValue.VALUETYPE_RESOURCE;
-               fTypeName = typeName;
+       public XDebugResourceValue(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 String toString() {
-               return null;
-       }*/
 
        public boolean verifyValue(String expression) {
                return true;