This interface models the context-sensitive help that can be associated with SWT menus, menu items, and controls, and with JFace actions. A help context provides the text description of the object with which it is associated with, as well as topic links that contain more related information. This information would be displayed to the user when context sensitive help (F1) is requested.
In the current implementation of the Help system, valid contexts can be contributed through the contexts
element of the "org.eclipse.help.contexts"
extension point. The IHelp.findContext(String)
method is used at runtime to create or fetch IContext objects using there fully qualified contextIds. If there is a need to override this behavior, then this IContext interface could be implemented by a client and registered with the SWT control or JFace action.
IContext
interface provides access methods for most HTTP and WebDAV message header fields. Those that are not explicitly enumerated can be accessed using Context#get(String)
and Context#put(String,String)
. All context keys are available with Context#keys()
. Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Interface for all context implementations.
A context object will be used for each template execution, and every context implementation must offer at least:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|