|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.expressions.Expression
org.eclipse.ui.LegacyHandlerSubmissionExpression
An expression encapsulating all of the information from legacy handler submissions.
Field Summary |
---|
Fields inherited from class org.eclipse.core.expressions.Expression |
---|
ATT_VALUE, FALSE, TRUE |
Constructor Summary | |
---|---|
LegacyHandlerSubmissionExpression(String activePartId,
Shell activeShell,
IWorkbenchPartSite activeSite)
Constructs a new instance of LegacyHandlerSubmissionExpression |
Method Summary | |
---|---|
EvaluationResult |
evaluate(IEvaluationContext context)
Evaluates this expression. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LegacyHandlerSubmissionExpression(String activePartId, Shell activeShell, IWorkbenchPartSite activeSite)
LegacyHandlerSubmissionExpression
activePartId
- The part identifier to match with the active part;
null
if it will match any active part.activeShell
- The shell to match with the active shell; null
if it will match any active shell.activeSite
- The site to match with the active site; null
if
it will match any active site.Method Detail |
public final EvaluationResult evaluate(IEvaluationContext context)
context
).
If a condition is null
, then it matches any possible
value (i.e., it is not tested at all).
evaluate
in class Expression
context
- The context providing the current workbench state; must not be
null
.
EvaluationResult.TRUE
if the conditions all
matches; EvaluationResult.FALSE
otherwise.public final String toString()
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.