|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides the ability to modify the value of a variable in a target.
Clients may implement this interface.
IVariable
Method Summary | |
void |
setValue(IValue value)
Sets the value of this variable to the given value. |
void |
setValue(String expression)
Attempts to set the value of this variable to the value of the given expression. |
boolean |
supportsValueModification()
Returns whether this variable supports value modification. |
boolean |
verifyValue(IValue value)
Returns whether the given value can be used as a new value for this variable. |
boolean |
verifyValue(String expression)
Returns whether the given expression is valid to be used in setting a new value for this variable. |
Method Detail |
public void setValue(String expression) throws DebugException
expression
- an expression to generate a new value
DebugException
- on failure. Reasons include:public void setValue(IValue value) throws DebugException
value
- a new value
DebugException
- on failure. Reasons include:public boolean supportsValueModification()
public boolean verifyValue(String expression) throws DebugException
expression
- an expression to generate a new value
DebugException
- on failure. Reasons include:public boolean verifyValue(IValue value) throws DebugException
value
- a new value
DebugException
- on failure. Reasons include:
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |