X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPValue.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPValue.java index ef5d52d..e20be3d 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPValue.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPValue.java @@ -41,16 +41,16 @@ public class PHPValue implements IValue { "reference", // 8 "soft reference" }; // 9 - final static int PEVT_UNKNOWN = 0; - final static int PEVT_LONG = 1; - final static int PEVT_DOUBLE = 2; - final static int PEVT_STRING = 3; - final static int PEVT_ARRAY = 4; - final static int PEVT_OBJECT = 5; - final static int PEVT_BOOLEAN = 6; - final static int PEVT_RESOURCE = 7; - final static int PEVT_REF = 8; - final static int PEVT_SOFTREF = 9; + public final static int PEVT_UNKNOWN = 0; + public final static int PEVT_LONG = 1; + public final static int PEVT_DOUBLE = 2; + public final static int PEVT_STRING = 3; + public final static int PEVT_ARRAY = 4; + public final static int PEVT_OBJECT = 5; + public final static int PEVT_BOOLEAN = 6; + public final static int PEVT_RESOURCE = 7; + public final static int PEVT_REF = 8; + public final static int PEVT_SOFTREF = 9; private int fValueType; // The type of this value (see the PEVT_... values) //private boolean hasChildren; // This value (variable) has children (more variables) @@ -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; + } + }