Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Newsreader/sources"

(Getting Started)
(Loading the view)
 
Line 24: Line 24:
  
 
==Loading the view==
 
==Loading the view==
The main view is populated using the GroupView.getInitialInput() method. This triggers the SubscribedServerProvider class which delivers IServers, etcetera. The store implementation bundle should start early to initialize the "store service" (in my case currently a class is initialized) See launch config in application class.
+
The main view is populated using the GroupView.getInitialInput() method. This triggers the SubscribedServerProvider class which delivers IServers, etcetera. The store implementation bundle should start early to initialize the "store service" (in my case currently a class is initialized) See launch config in application project.

Latest revision as of 06:57, 11 August 2009

Salvo Sources

The sources are here
Media:salvo.0.5.0.sources.zip

Getting Started

The interesting stuff can be found in the model which classes are declared in
com.weltvree.salvo.model

  • IArticle
    Contains the article metadata
  • INewsgroup
    The newsgroup metadata
  • IServer
    the newsserver metadata
  • IServerConnection
    The class that handles i/o with the server. Got from the server by getConnection()
  • IServerStoreFacade
    The class that manages synchronization between the store and the server.
  • IStore
    The place where fetched articles are stored. A filesystem store reference implementation exists.


Other interesting classes are ServerRegex, ISalvoResource, SalvoResourceFactory.

Loading the view

The main view is populated using the GroupView.getInitialInput() method. This triggers the SubscribedServerProvider class which delivers IServers, etcetera. The store implementation bundle should start early to initialize the "store service" (in my case currently a class is initialized) See launch config in application project.

Back to the top