Modified: 1764120 - Variables View doesn't show global vars in class context
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / model / PHPValue.java
index ef5d52d..4d511ee 100644 (file)
@@ -236,4 +236,25 @@ public class PHPValue implements IValue {
                fHasChanged = changed;
        }
 
+       /*
+        * ONLY FOR net.sourceforge.phpdt.internal.debug.core.model.PHPDBGEvalString#copyItems(PHPVariable, PHPValue)
+        */
+       protected void setVariables(Vector variables) {
+               fVariables = variables;
+       }
+
+       /*
+        * ONLY FOR net.sourceforge.phpdt.internal.debug.core.model.PHPDBGEvalString#copyItems(PHPVariable, PHPValue)
+        */
+       protected Object clone() throws CloneNotSupportedException {
+               PHPValue val = new PHPValue();
+               val.fValueType = fValueType;
+               val.fValueString = fValueString;
+               val.fVariables = fVariables;
+               val.fStackFrame = fStackFrame;
+               val.fHasChanged = fHasChanged;
+               val.fSorted = fSorted;
+               return val;
+       }
+
 }