|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.help.DialogPageContextComputer
For determining the help context for controls in a dialog page.
This class may be instantiated; it is not intended to be subclassed.
Constructor Summary | |
DialogPageContextComputer(IDialogPage page,
Object helpContext)
Deprecated. Creates a new context computer for the given dialog page and help context. |
Method Summary | |
Object[] |
computeContexts(HelpEvent event)
Deprecated. Computes contexts for the help system. |
Object[] |
getLocalContexts(HelpEvent event)
Deprecated. Returns the local contexts for this context computer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DialogPageContextComputer(IDialogPage page, Object helpContext)
page
- the dialog pagehelpContext
- a single help context id (type String
) or
help context object (type IContext
)Method Detail |
public Object[] computeContexts(HelpEvent event)
IContextComputer
computeContexts
in interface IContextComputer
event
- the help event which triggered this request for help
String
)
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 help
String
)
and/or help contexts (type IContext
)IContext
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |