public class QuicklinksViewer extends Object implements IIntroContentProvider
| Constructor and Description |
|---|
QuicklinksViewer() |
| 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.
|
protected String |
getCurrentThemeId()
Find the current Welcome/Intro identifier
|
void |
init(IIntroContentProviderSite site)
Initializes the content provider.
|
public void init(IIntroContentProviderSite site)
IIntroContentProviderinit in interface IIntroContentProvidersite - the site of this IIntroContentProviderprotected String getCurrentThemeId()
null if no themepublic void createContent(String id, PrintWriter out)
IIntroContentProvidercreateContent in interface IIntroContentProviderid - 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 intopublic void createContent(String id, Composite parent, FormToolkit toolkit)
IIntroContentProvidercreateContent in interface IIntroContentProviderid - 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 widgetspublic void dispose()
IIntroContentProviderdispose in interface IIntroContentProvider
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.