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 e7075f8..41349a9 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 @@ -3,25 +3,23 @@ package net.sourceforge.phpeclipse.xdebug.php.model; 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) { + super(variable, value); } public void renderValueString(String data) { - fValueString = data + " element(s)"; + if (data.equals("")) { + fValueString = "empty"; + } else { + if ("array".equals(fTypeName)) { + fValueString = "array"; + } else { + fValueString = data; + } + } } public boolean verifyValue(String expression) { - // TODO Auto-generated method stub return false; } - -} +} \ No newline at end of file