- All Implemented Interfaces:
An Intro content provider that populates a list of frequently-used commands from an extension point. The appearance of these quicklinks is normally taken from the command metadata, including the image icon, but can be tailored. These tailorings can be made optional depending on the current theme. This implementation is still experimental and subject to change. Feedback welcome as a bug report on the Eclipse Bugzilla against Platform/User Assistance.
Method SummaryModifier and TypeMethodDescription
voidCreates HTML content in the provided PrintWriter.
voidCreates SWT content in the provided Composite.
dispose()Dispose of the ContentProvider.
protected StringFind the current Welcome/Intro identifier
voidInitializes the content provider.
initpublic void init
(IIntroContentProviderSite site)Initializes the content provider. An IIntroContentProviderSite is passed, which will be called on to recompute or layout the content when the content becomes stale.
getCurrentThemeIdprotected String getCurrentThemeId()Find the current Welcome/Intro identifier
- the current identifier or
nullif no theme
createContentCreates HTML content in the provided PrintWriter. This content will be included in the generated HTML page when embedded HTML widget is used to render intro content.
createContentCreates SWT content in the provided Composite. This method is called when Eclipse Forms are used to render intro content.
disposepublic void dispose()Dispose of the ContentProvider. This will only be called when the Intro view is closed. In other words, the content provider will not be disposed of until the last possible minute. This gives the implementor the chance to cache content and avoid regenerating content on every page switch.