@Deprecated 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)
IContextComputer
computeContexts
in interface IContextComputer
event
- the help event which triggered this request for helpString
)
and/or help contexts (type IContext
)IContext
public 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 IContextComputer
event
- the help event which triggered this request for helpString
)
and/or help contexts (type IContext
)IContext
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.