public class EclipseRSSViewer extends Object implements IIntroContentProvider
The id for the contentProvider tag must consist of the following attributes. Each of these attributes must be separated by '##'.
| Attribute | Description |
|---|---|
| url | RSS news feed url |
| welcome_items | Number of news feed to be displayed |
| no_news_url | Alternative url for news feed |
| no_news_text | Text for the alternative url |
<contentProvider
| Constructor and Description |
|---|
EclipseRSSViewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
createContent(String id,
Composite parent,
FormToolkit toolkit)
Create widgets to display the newsreader when using the SWT presentation
|
void |
createContent(String id,
PrintWriter out)
Create the html content for this newsreader
|
void |
dispose()
Dispose of the ContentProvider.
|
void |
init(IIntroContentProviderSite site)
Initialize the content provider
|
public void init(IIntroContentProviderSite site)
init in interface IIntroContentProvidersite - an object which allows rcontainer reflows to be requestedpublic void createContent(String id, PrintWriter out)
createContent in interface IIntroContentProviderid - out - a writer where the html will be writtenpublic void createContent(String id, Composite parent, FormToolkit toolkit)
createContent 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, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.