public class DialogPageContextComputer extends Object implements IContextComputer
This class may be instantiated; it is not intended to be subclassed.
| Constructor and Description |
|---|
DialogPageContextComputer(IDialogPage page,
Object helpContext)
Deprecated.
Creates a new context computer for the given dialog page 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 DialogPageContextComputer(IDialogPage page, Object helpContext)
page - the dialog pagehelpContext - a single help context id (type String) or
help context object (type IContext)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.