|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.expressions.Expression
Abstract base class for all expressions provided by the common expression language.
An expression is evaluated by calling evaluate(IEvaluationContext)
.
This class may be subclassed to provide specific expressions.
Field Summary | |
protected static String |
ATT_VALUE
Name of the value attribute of an expression (value is value ). |
static Expression |
FALSE
The expression corresponding to EvaluationResult.FALSE . |
static Expression |
TRUE
The expression corresponding to EvaluationResult.TRUE . |
Constructor Summary | |
Expression()
|
Method Summary | |
abstract EvaluationResult |
evaluate(IEvaluationContext context)
Evaluates this expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String ATT_VALUE
value
).
public static final Expression TRUE
EvaluationResult.TRUE
.
public static final Expression FALSE
EvaluationResult.FALSE
.
Constructor Detail |
public Expression()
Method Detail |
public abstract EvaluationResult evaluate(IEvaluationContext context) throws CoreException
context
- an evaluation context providing information like variable,
name spaces, etc. necessary to evaluate this expression
CoreException
- if the evaluation failed. The concrete reason is
defined by the subclass implementing this method
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.