Changes between Version 2 and Version 3 of wxGUIDevelopment/Toolboxes
- Timestamp:
- 04/30/13 02:55:07 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wxGUIDevelopment/Toolboxes
v2 v3 8 8 * without GUI it requires some knowledge so programmer's manual can be used 9 9 * here on Trac Wiki: ideas what could be done and how, bugs overviews etc. 10 == Creation of toolboxes from the old menu ==11 12 Toolboxes which are now in GRASS distribution were created from the old menus and submenus and these toolboxes are used to create the same menu as it was before. Toolbox is a list of modules and it maps to one menu or submenu in the GUI. The same structure which is in the menu is also in the search module tab in the layer manager, so toolboxes are also there. If you are not using toolboxes, you get the same menu as before.13 10 14 11 == Which toolboxes could be created == … … 38 35 39 36 There is no GUI to create or edit toolboxes. However, it is not considered as a priority because advanced users can edit XML files directly and beginners are usually not able or not want to do the customization themselves and some advanced user have to do the customization for them. Thus, we suppose that there is no need for GUI. Still, it would be nice to have that but the GUI implementation would be very complicated, probably more than the implementation of toolboxes itself (at least the basic implementation). For the future, the GUI can be added at any point and is partially independent on the concrete toolboxes implementation. 37 38 39 == Creation of toolboxes from the old menu == 40 41 Toolboxes which are now in GRASS distribution were created from the old menus and submenus and these toolboxes are used to create the same menu as it was before. Toolbox is a list of modules and it maps to one menu or submenu in the GUI. The same structure which is in the menu is also in the search module tab in the layer manager, so toolboxes are also there. If you are not using toolboxes, you get the same menu as before. 42 43 For the conversion a XSL Transformation (with EXSLT) was used: 44 * files: 45 * attachment:menudata_to_toolboxes.xslt 46 * attachment:menudata_to_main_menu.xslt 47 * attachment:menudata_to_wxgui_items.xslt 48 * example command for transformation: 49 * `xsltproc menudata_to_wxgui_items.xslt menudata.xml > wxgui_items.xml`