|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvaluationContext
The evaluation context. Contexts can be nested and new contexts are pushed for each closure during an evaluation of an expression.
Method Summary | |
---|---|
IIndexProvider<?> |
getIndexProvider()
|
Object |
getParameter(int position)
Returns the value of the parameter at the given position |
Object |
getValue(IExpression variable)
Retrieve the value of the given variable from this context |
void |
setIndexProvider(IIndexProvider<?> indexProvider)
|
void |
setValue(IExpression variable,
Object value)
Set the current value for the given variable to value |
Method Detail |
---|
IIndexProvider<?> getIndexProvider()
void setIndexProvider(IIndexProvider<?> indexProvider)
Object getValue(IExpression variable)
variable
from this context
variable
- The variable who's value should be retrieved
void setValue(IExpression variable, Object value)
variable
to value
variable
- The variable who's value should be setvalue
- The new value for the variable.Object getParameter(int position)
position
position
- The zero based position for the parameter
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.