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)
IIntroContentProvider
init
in interface IIntroContentProvider
site
- the site of this IIntroContentProviderprotected String getCurrentThemeId()
null
if no themepublic void createContent(String id, PrintWriter out)
IIntroContentProvider
createContent
in interface IIntroContentProvider
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 intopublic void createContent(String id, Composite parent, FormToolkit toolkit)
IIntroContentProvider
createContent
in interface IIntroContentProvider
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 widgetspublic void dispose()
IIntroContentProvider
dispose
in interface IIntroContentProvider
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.