|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IIntroContentProvider
A content provider for dynamic intro content. It is initialized with the content provider site because a typical content provider would need to update its contents dynamically at runtime. And so, the site can be informed of a need to redraw its content through a call to its reflow(..) method.
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>
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void init(IIntroContentProviderSite site)
site - the site of this IIntroContentProvider
void 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 into
void 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()
|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.