X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java index 6ecfd8e..128bd64 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java @@ -1,25 +1,18 @@ package net.sourceforge.phpeclipse.xdebug.php.model; +import org.eclipse.debug.core.DebugException; import org.w3c.dom.Node; public class XDebugArrayValue extends XDebugAbstractValue { - - public XDebugArrayValue(XDebugVariable variable, Node varNode, - String typeName) { - super(variable, varNode, typeName); - } - - public void setType(String typeName) { - fType = XDebugAbstractValue.VALUETYPE_ARRAY; - fTypeName = typeName; - + public XDebugArrayValue(XDebugStackFrame variable, Node value) throws DebugException { + super(variable, value); } - public void renderValueString(String data) { + public void renderValueString(String data) throws DebugException { if (data.equals("")) { fValueString = "empty"; } else { - if ("array".equals(fTypeName)) { + if ("array".equals(getReferenceTypeName())) { fValueString = "array"; } else { fValueString = data; @@ -30,4 +23,4 @@ public class XDebugArrayValue extends XDebugAbstractValue { public boolean verifyValue(String expression) { return false; } -} +} \ No newline at end of file