| comment 30783 posted by hol353 on 2009-09-01 10:25 AM, 3187 days ago||
|DESCRIPTION OF CHANGE:|
I have implemented a 'plugin' concept for the user interface. All knowledge about a model is now located within a single XML file. This includes the model parameters (old .ini files) and the former model "types" files.
The consequence of this change is that a model developer can now introduce a new model to the APSIM user interface by simply pointing the user interface to the .xml file. This can be done by selecting "Options" from the simulation tree popup menu. Previously, model developers needed to copy several .xml files into different directories in the c:\program files\apsim70 directory, something that causes all sorts of problems, particularly when users don't have write permissions to their c:\program files directory.
The XML file is structured like this:
contains all of the user interface related information about how the model should look in the user interface.
contains all of the model parameters (science). This is the existing .ini file parameters.
contains all of the variables and events that the model makes available to the user for reporting. This information is automatically generated by probing the model DLL. </Info>
| comment 30691 posted by hol353 on 2009-06-18 1:10 PM, 3262 days ago||
|Would be good for the GUI to ask for a "package" or "plugin" directory and it will go and recursively find all XML files (types, toolboxes) and configuration XML files under that directory. This is to replace the existing mechanism where a user can select a toolbox directory under Options.