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.
Difference between revisions of "Newsreader/sources"
(New page: ==Salvo Sources== The sources are here <br> Media:salvo.0.5.0.sources.zip ==Getting Started== The interesting stuff can be found in the model which classes are declared in <br> com.we...) |
(→Loading the view) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
*IArticle | *IArticle | ||
− | * | + | *:Contains the article metadata |
*INewsgroup | *INewsgroup | ||
+ | *:The newsgroup metadata | ||
*IServer | *IServer | ||
− | * | + | *:the newsserver metadata |
*IServerConnection | *IServerConnection | ||
+ | *:The class that handles i/o with the server. Got from the server by getConnection() | ||
*IServerStoreFacade | *IServerStoreFacade | ||
+ | *: The class that manages synchronization between the store and the server. | ||
*IStore | *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. |
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.