Command Core Expressions
Core expressions are declarative or programmatic expressions based on the org.eclipse.core.expressions plugin.
Expressions and the Command Framework
The Platform Command Framework uses core expressions for enabledWhen and activeWhen for handlers, programmatic activation of contexts, and for visibleWhen for menu contributions. The command framework provides the IEvaluationContext that command core expressions are evaluate against.