X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java index 2ce4f1c..87cf6c3 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java @@ -1,40 +1,14 @@ 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+"\""; - } - - public boolean supportsValueModification() { - return true; - } - - public String toString() { - return fDataString; - } - - public boolean verifyValue(String expression) { - return true; + setValueString("\"" + data + "\""); } } \ No newline at end of file