public abstract class AbstractContextProvider extends Object
AbstractContextProvider
is a mechanism to provide arbitrary
context-sensitive help for any part of the UI. AbstractContextProvider
s must be registered via the org.eclipse.help.contexts
extension point.Constructor and Description |
---|
AbstractContextProvider() |
Modifier and Type | Method and Description |
---|---|
abstract IContext |
getContext(String id,
String locale)
Returns the context-sensitive help content for the UI element with the
given context help ID, and for the given locale.
|
abstract String[] |
getPlugins()
Returns an array of
String s containing the ids of the
UI plug-ins for which this provider should be used. |
public abstract IContext getContext(String id, String locale)
id
- the unique context help ID, e.g. "org.my.plugin.my_context_id"null
if not availablepublic abstract String[] getPlugins()
String
s containing the ids of the
UI plug-ins for which this provider should be used. This is equivalent to
the plugin
attribute of the contexts
element
of the org.eclipse.help.contexts
extension point, except you
can specify any number of plug-ins.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.