|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.intro.contentproviders.EclipseRSSViewer
public class EclipseRSSViewer
A content provider which allows a news reader to be included in dynamic intro content.
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 Summary | |
---|---|
EclipseRSSViewer()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EclipseRSSViewer()
Method Detail |
---|
public void init(IIntroContentProviderSite site)
init
in interface IIntroContentProvider
site
- an object which allows rcontainer reflows to be requestedpublic void createContent(String id, PrintWriter out)
createContent
in interface IIntroContentProvider
id
- out
- a writer where the html will be writtenpublic void createContent(String id, Composite parent, FormToolkit toolkit)
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
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.