GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
gmodeler/menudata.py
Go to the documentation of this file.
00001 """!
00002 @package gmodeler.menudata
00003 
00004 @brief wxGUI Graphical Modeler - menu data
00005 
00006 Classes:
00007  - menudata::ModelerData
00008 
00009 (C) 2010-2011 by the GRASS Development Team
00010 
00011 This program is free software under the GNU General Public License
00012 (>=v2). Read the file COPYING that comes with GRASS for details.
00013 
00014 @author Martin Landa <landa.martin gmail.com>
00015 """
00016 
00017 import os
00018 
00019 from core                 import globalvar
00020 from core.menudata        import MenuData
00021 
00022 class ModelerData(MenuData):
00023     def __init__(self, filename = None):
00024         if not filename:
00025             gisbase = os.getenv('GISBASE')
00026             filename = os.path.join(globalvar.ETCWXDIR, 'xml', 'menudata_modeler.xml')
00027         
00028         MenuData.__init__(self, filename)