com.pvx.ooadide.launchers.debug.model
Class PVXVariable
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.model.DebugElement
com.pvx.ooadide.launchers.debug.model.PVXDebugElement
com.pvx.ooadide.launchers.debug.model.PVXVariable
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IValueModification, org.eclipse.debug.core.model.IVariable
- Direct Known Subclasses:
- PvxArrayElementVariable, PVXArrayValue
public class PVXVariable
- extends PVXDebugElement
- implements org.eclipse.debug.core.model.IVariable
A variable in a PVX stack frame
Constructor Summary |
PVXVariable(PVXStackFrame frame,
java.lang.String var)
Constructs a variable contained in the given stack frame
with the given name. |
Methods inherited from class org.eclipse.debug.core.model.DebugElement |
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
TYPE_STRING
public static final java.lang.String TYPE_STRING
- See Also:
- Constant Field Values
TYPE_NUMERIC
public static final java.lang.String TYPE_NUMERIC
- See Also:
- Constant Field Values
PVXVariable
public PVXVariable(PVXStackFrame frame,
java.lang.String var)
- Constructs a variable contained in the given stack frame
with the given name.
- Parameters:
frame
- owning stack framename
- variable name
getValue
public org.eclipse.debug.core.model.IValue getValue()
throws org.eclipse.debug.core.DebugException
- Specified by:
getValue
in interface org.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
getName
public java.lang.String getName()
throws org.eclipse.debug.core.DebugException
- Specified by:
getName
in interface org.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
getReferenceTypeName
public java.lang.String getReferenceTypeName()
throws org.eclipse.debug.core.DebugException
- Specified by:
getReferenceTypeName
in interface org.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
hasValueChanged
public boolean hasValueChanged()
throws org.eclipse.debug.core.DebugException
- Specified by:
hasValueChanged
in interface org.eclipse.debug.core.model.IVariable
- Throws:
org.eclipse.debug.core.DebugException
setValue
public void setValue(java.lang.String expression)
throws org.eclipse.debug.core.DebugException
- Specified by:
setValue
in interface org.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
setValue
public void setValue(org.eclipse.debug.core.model.IValue value)
throws org.eclipse.debug.core.DebugException
- Specified by:
setValue
in interface org.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
supportsValueModification
public boolean supportsValueModification()
- Specified by:
supportsValueModification
in interface org.eclipse.debug.core.model.IValueModification
verifyValue
public boolean verifyValue(java.lang.String expression)
throws org.eclipse.debug.core.DebugException
- Specified by:
verifyValue
in interface org.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
verifyValue
public boolean verifyValue(org.eclipse.debug.core.model.IValue value)
throws org.eclipse.debug.core.DebugException
- Specified by:
verifyValue
in interface org.eclipse.debug.core.model.IValueModification
- Throws:
org.eclipse.debug.core.DebugException
hasVariables
public boolean hasVariables()
throws org.eclipse.debug.core.DebugException
- Throws:
org.eclipse.debug.core.DebugException