public interface IIntroContentProvider
The life cycle of an IIntroContentProvider is as follows:
<contentProvider id="roles"
class="x.y.z.ContentProvider">
<text>Some alternate text for dynamic content</text>
</contentProvider>
Modifier and Type | Method and Description |
---|---|
void |
createContent(String id,
Composite parent,
FormToolkit toolkit)
Creates SWT content in the provided Composite.
|
void |
createContent(String id,
PrintWriter out)
Creates HTML content in the provided PrintWriter.
|
void |
dispose()
Dispose of the ContentProvider.
|
void |
init(IIntroContentProviderSite site)
Initializes the content provider.
|
void init(IIntroContentProviderSite site)
site
- the site of this IIntroContentProvidervoid createContent(String id, PrintWriter out)
id
- the unique identifier of the content element. The same content
provider class can be reused for several elements and the id
can be used to tell them apart.out
- the output print writer to generate HTML content intovoid createContent(String id, Composite parent, FormToolkit toolkit)
id
- the unique identifier of the content elementparent
- the parent composite that should be used when creating SWT
widgetstoolkit
- the form toolkit that should be used when creating new widgetsvoid dispose()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.