2 * Created on 23.11.2004
4 * TODO To change the template for this generated file go to
5 * Window - Preferences - Java - Code Style - Code Templates
7 package net.sourceforge.phpeclipse.xdebug.core;
9 import org.eclipse.debug.core.DebugException;
10 import org.eclipse.debug.core.model.IValue;
11 import org.eclipse.debug.core.model.IVariable;
16 * TODO To change the template for this generated type comment go to
17 * Window - Preferences - Java - Code Style - Code Templates
19 public class XDebugValue extends XDebugElement implements IValue {
21 private String fValue;
23 public XDebugValue(XDebugTarget target, String value) {
29 * @see org.eclipse.debug.core.model.IValue#getReferenceTypeName()
31 public String getReferenceTypeName() throws DebugException {
33 Integer.parseInt(fValue);
34 } catch (NumberFormatException e) {
40 * @see org.eclipse.debug.core.model.IValue#getValueString()
42 public String getValueString() throws DebugException {
46 * @see org.eclipse.debug.core.model.IValue#isAllocated()
48 public boolean isAllocated() throws DebugException {
52 * @see org.eclipse.debug.core.model.IValue#getVariables()
54 public IVariable[] getVariables() throws DebugException {
55 return new IVariable[0];
58 * @see org.eclipse.debug.core.model.IValue#hasVariables()
60 public boolean hasVariables() throws DebugException {