Class EclipseRSSViewer

  • All Implemented Interfaces:

    public class EclipseRSSViewer
    extends Object
    implements IIntroContentProvider
    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
    For example:
     id="url= to the Eclipse Community Page"
    • Constructor Detail

      • EclipseRSSViewer

        public EclipseRSSViewer()
    • Method Detail

      • createContent

        public void createContent​(String id,
                                  Composite parent,
                                  FormToolkit toolkit)
        Create widgets to display the newsreader when using the SWT presentation
        Specified by:
        createContent in interface IIntroContentProvider
        id - the unique identifier of the content element
        parent - the parent composite that should be used when creating SWT widgets
        toolkit - the form toolkit that should be used when creating new widgets
      • dispose

        public void dispose()
        Description copied from interface: IIntroContentProvider
        Dispose of the ContentProvider. This will only be called when the Intro view is closed. In other words, the content provider will not be disposed of until the last possible minute. This gives the implementor the chance to cache content and avoid regenerating content on every page switch.
        Specified by:
        dispose in interface IIntroContentProvider