Package org.eclipse.help
Class AbstractContentExtensionProvider
- java.lang.Object
-
- org.eclipse.help.AbstractContentExtensionProvider
-
public abstract class AbstractContentExtensionProvider extends Object
AnAbstractContentExtensionProvider
is a mechanism to provide arbitrary content extensions (e.g. contributions to anchors or element replacements).AbstractContentExtensionProvider
s must be registered via theorg.eclipse.help.contentExtension
extension point.- Since:
- 3.3
-
-
Constructor Summary
Constructors Constructor Description AbstractContentExtensionProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
contentChanged()
Notifies the platform that the content managed by this provider may have changed since the last timegetContentExtensions()
was called, and needs to be updated.abstract IContentExtension[]
getContentExtensions(String locale)
Returns all extensions for this provider.
-
-
-
Method Detail
-
getContentExtensions
public abstract IContentExtension[] getContentExtensions(String locale)
Returns all extensions for this provider. Providers are free to provide any number of contributions (zero or more).- Parameters:
locale
- the locale for which to get contributions- Returns:
- all the content extensions for this provider
-
contentChanged
protected void contentChanged()
Notifies the platform that the content managed by this provider may have changed since the last timegetContentExtensions()
was called, and needs to be updated.
-
-