After adding 3d graphs, a lot of people all of a sudden seem interested in developing TT. Since many people are unfamiliar with RCP applications, I'll try to give some quick pointers on how to get started..
First of all, I think it might be a good idea to read the following tutorial about developing RCP applications:
http://www.eclipse.org/articles/Article-RCP-1/tutorial1.html (I don't think it's needed to complete the tutorial, reading should give a good idea of what's going on). Also, please note, tutorials are for Eclipse 3.0, and I'm developing on 3.1, so there may be some small changes.
Program flow for all people interested:
- RCP application startup
- User opens a ROM file
- OpenRomAction.run() is triggered.
- RomFactory is asked to open the ROM. Based on a small fingerprint of the rom, an instance of a Rom (RomP30, RomP28, etc) is initialized.
- NonCloseableView is updated (.refresh()) to show the opened Rom file, and a list of options available for this rom.
- Users clicks an 'option' for the Rom.
- OpenMapViewAction.run() is triggered.
- A tableview of graphview opens.
With this knowledge, I think most of you should be able to figure out how the code works.
Happy developing!