private PHPStackFrame fStackFrame; // The stackframe this variable belongs to
private PHPVariable fParent; // The parent variable (a back link)
private String fLongName; // ???
- private boolean fHasChanged; //
/**
*
this.fStackFrame = frame;
this.fValue = new PHPValue (frame, value, valueType, subitems);
this.fParent = parent;
- this.fHasChanged = false;
setName (name);
}
*
* @param name
*/
- private void setName (String name) {
+ public void setName (String name) {
if ((fParent == null) || // If we have no parent for this variable
(fParent.getName () == "")) { // or we have a parent which is just a simple node ???
fLongName = name; // Set the long name
* @see org.eclipse.debug.core.model.IVariable#hasValueChanged()
*/
public boolean hasValueChanged() throws DebugException {
- // TODO Auto-generated method stub
- // return false;
- return fHasChanged;
+ return fValue.hasValueChanged ();
}
/**
* a different color.
*/
public void setValueChanged (boolean changed) {
- fHasChanged = changed;
+ fValue.setValueChanged (changed);
}
/**