Change visibility of net.sourceforge.phpeclipse.xdebug.php.model.XDebugAbstractValue...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugArrayValue.java
index 41349a9..7a1dbad 100644 (file)
@@ -1,20 +1,21 @@
 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(XDebugStackFrame variable, Node value) {
+       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";
+                       setValueString("empty")/*fValueString = "empty"*/;
                } else {
-                       if ("array".equals(fTypeName)) {
-                               fValueString = "array";
+                       if ("array".equals(getReferenceTypeName())) {
+                               setValueString("array")/*fValueString = "array"*/;
                        } else {
-                               fValueString = data;
+                               setValueString(data)/*fValueString = data*/;
                        }
                }
        }