|
Eclipse Platform Release 3.3 |
|||||||||||
| 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, HASH_CODE_NOT_COMPUTED, HASH_FACTOR, TRUE |
| Constructor Summary | |
|---|---|
LegacyHandlerSubmissionExpression(String activePartId,
Shell activeShell,
IWorkbenchPartSite activeSite)
Constructs a new instance of LegacyHandlerSubmissionExpression |
|
| Method Summary | |
|---|---|
void |
collectExpressionInfo(ExpressionInfo info)
Collect expression info for a legacy handler submission. |
protected int |
computeHashCode()
Method to compute the hash code for this object. |
boolean |
equals(Object object)
|
EvaluationResult |
evaluate(IEvaluationContext context)
Evaluates this expression. |
String |
toString()
|
| Methods inherited from class org.eclipse.core.expressions.Expression |
|---|
computeExpressionInfo, equals, equals, hashCode, hashCode, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 void collectExpressionInfo(ExpressionInfo info)
collectExpressionInfo in class Expressioninfo - the expression information object used
to collect the informationprotected final int computeHashCode()
ExpressionfHashCode
field. If the value returned from the method equals Expression.HASH_CODE_NOT_COMPUTED
(e.g. -1) then the value is incremented by one.
This default implementation calls super.hashCode()
computeHashCode in class Expressionpublic final boolean equals(Object object)
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 Expressioncontext - 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.3 |
|||||||||||
| 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, 2007. All rights reserved.