public class ViewContextComputer extends Object implements IContextComputer
This class may be instantiated; it is not intended to be subclassed.
| Constructor and Description |
|---|
ViewContextComputer(IViewPart viewPart,
Object helpContext)
Deprecated.
Creates a new context computer for the given view and help context.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
computeContexts(HelpEvent event)
Deprecated.
Computes contexts for the help system.
|
Object[] |
getLocalContexts(HelpEvent event)
Deprecated.
Returns the local contexts for this context computer.
|
public Object[] computeContexts(HelpEvent event)
IContextComputercomputeContexts in interface IContextComputerevent - the help event which triggered this request for helpString)
and/or help contexts (type IContext)IContextpublic Object[] getLocalContexts(HelpEvent event)
IContextComputer
Typically this method is called by other instances of
IContextComputer in their computeContexts
method.
The important concept here is that the value returned by
computeContexts represents the complete help
contexts and is passed directly to the help support system.
However the value returned by this method represents the
only the contexts for the particular control with which this
IContextComputer is associated.
getLocalContexts in interface IContextComputerevent - the help event which triggered this request for helpString)
and/or help contexts (type IContext)IContextGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.