Class AbstractContentExtensionProvider


public abstract class AbstractContentExtensionProvider extends Object
An AbstractContentExtensionProvider is a mechanism to provide arbitrary content extensions (e.g. contributions to anchors or element replacements). AbstractContentExtensionProviders must be registered via the extension point.
  • Constructor Details

    • AbstractContentExtensionProvider

      public AbstractContentExtensionProvider()
  • Method Details

    • 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).
      locale - the locale for which to get contributions
      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 time getContentExtensions() was called, and needs to be updated.