RiverWare 5.0.2: Reopen Menus: Added Default and Recent Directories
Edit 8-19-2008 [Phil]
The "Reopen" menus had previously shown only specific _files_ (model files, RplSets, SCTs, etc.). With this enhancement, those menus also present a list of recently accessed _directories_ AND a single user-configured "default" directory (for the specific type of file), based on an environment variable. Selecting a directory item (shown with a folder icon) opens up a file chooser initialized to the specified directory.
|
[Note 1]: An "Open Recent" casdaced menu isn't implemented for Importing Simulation Objects. So currently, defining the "RIVERWARE_DFLT_OBJ_DIR" environment variable has no effect.
[Note 2]: The SCT's "Recent File / Directory" mechanism was recoded to make use of certain previously-redundant mechanisms in the Load/Save Manager (which supports the other file types). The QSettings Keys (on Windows: Registry entries) used for SCTs have changed. As a result, the SCT History data from previous RiverWare sessions will be lost. That history will, of course, be recovered as soon as the user accesses SCT files in subsequent RiverWare sessions.
---