| org.eclipse.ui.LegacyHandlerSubmissionExpression
LegacyHandlerSubmissionExpression | final public class LegacyHandlerSubmissionExpression extends Expression (Code) | |
An expression encapsulating all of the information from legacy handler
submissions.
since: 3.1 |
LegacyHandlerSubmissionExpression | public LegacyHandlerSubmissionExpression(String activePartId, Shell activeShell, IWorkbenchPartSite activeSite)(Code) | | Constructs a new instance of
LegacyHandlerSubmissionExpression
Parameters: activePartId - The part identifier to match with the active part;null if it will match any active part. Parameters: activeShell - The shell to match with the active shell; null if it will match any active shell. Parameters: activeSite - The site to match with the active site; null ifit will match any active site. |
collectExpressionInfo | final public void collectExpressionInfo(ExpressionInfo info)(Code) | | Collect expression info for a legacy handler submission. Namely
the active part id and name, active shell name, active workbench
window shell name and the active site name.
since: 3.2 |
computeHashCode | final protected int computeHashCode()(Code) | | |
evaluate | final public EvaluationResult evaluate(IEvaluationContext context)(Code) | | Evaluates this expression. This tests the three conditions against the
current state of the application (as defined by context ).
If a condition is null , then it matches any possible
value (i.e., it is not tested at all).
Parameters: context - The context providing the current workbench state; must not benull . EvaluationResult.TRUE if the conditions allmatches; EvaluationResult.FALSE otherwise. |
|
|