- All Superinterfaces:
A token representing the activation of a context. This token can later be used to cancel that activation. Without this token, then context will only become inactive if the component in which the context was activated is destroyed.
This interface is not intended to be implemented or extended by clients.
Method SummaryModifier and TypeMethodDescription
IEvaluationResultCache.clearResult()instead.Returns the identifier of the context that is being activated.Returns the context service from which this activation was requested.
Methods inherited from interface org.eclipse.ui.internal.services.IEvaluationResultCache
clearResult, evaluate, getExpression, getSourcePriority, setResult
clearActive@Deprecated void clearActive()Deprecated.Use
IEvaluationResultCache.clearResult()instead.Clears the cached computation of the
isActivemethod, if any. This method is only intended for internal use. It provides a mechanism by which
ISourceProviderevents can invalidate state on a
getContextIdString getContextId()Returns the identifier of the context that is being activated.
- The context identifier; never
getContextServiceIContextService getContextService()Returns the context service from which this activation was requested. This is used to ensure that an activation can only be retracted from the same service which issued it.
- The context service; never
IEvaluationResultCache.evaluate(IEvaluationContext)instead.Returns whether this context activation is currently active -- given the current state of the workbench. This method should cache its computation. The cache will be cleared by a call to
context- The context in which this state should be evaluated; must not be
trueif the activation is currently active;