GUI has been rewritten from MDI to flat, tree-driven interface. Now in order to start GUI you have to start org.objectstyle.cayenne.gui.Editor instread of Modele. The code is checked in, but it hasn't been tested - literally. Here are the scenarios which work:
- Start GUI, select "New Project", choose the project directory, select "Create Domain", select "Create Data Map", add entities (Obj and Db), select "Save" (while either Data Map or entities are selected in the tree), click on Domain and click "Save".
As the result in your project directory you will find cayenne.xml (the only allowed name for Cayenne project files) and the data map files (unless you stored data maps into subdirectory of the proj tree).
- Start GUI, select "Open Project", open domain, open data map, make modifications, save (while DataMap or entities are selected) - should save the changes in the proj directory tree.
Here are the things which are most definitely DON'T work
- You cannot edit Domain names - Domain Detail View hasn't been implemented yet.
- You cannot edit the data source (a.k.a. data node) params - Data Node Detail View hasn't been implemented yet
- You can easily confuse ObjEntities and DbEntities in the browse trees - different icons for different entities haven't been implemented yet
- Class generation doesn't work - it has some problem finding Velocity templates (should resolve on Monday or Tuesday)
- Haven't tried to do reverse engineering of the database.
The code should become stable by the end of this week (Sunday, 24th of March). Here are the tasks needed to get completed:
- Data Domain detail view. Basically changing the name of the domain. (By 24-th)
- Data node detail view. Entering the connection information and allowing to test it. (By 24-th)
- Icons. Need to create icons for tree, as well as for toolbar (By 24-th)
- Fix populating drop-downs in DbAttribute pane with proper data types (By 24-th)
- Preferences. Need to save the parameters used to reverse engineer database, last project directory, etc. to the preference file.
- Toolbar. Need to add toolbar to Editor.
- Hot keys (shortcuts) - need to add shortcuts to the menu/toolbar selections.
- Help files. Need to implement basic help for the GUI usage. GUI is better than before, but still not too intuitive.
- Test cases for GUI. Need to write up basic scenarios for GUI usage.
That's all, folks.
Misha
This archive was generated by hypermail 2.0.0 : Mon Mar 18 2002 - 01:10:41 EST