2
@package gmodeler.giface
4
@brief wxGUI Graphical Modeler GRASS interface
7
- giface::GraphicalModelerGrassInterface
9
(C) 2013-2014 by the GRASS Development Team
11
This program is free software under the GNU General Public License
12
(>=v2). Read the file COPYING that comes with GRASS for details.
14
@author Martin Landa <landa.martin gmail.com>
17
from grass.pydispatch.signal import Signal
19
class GraphicalModelerGrassInterface():
20
"""@implements core::giface::GrassInterface"""
21
def __init__(self, model):
24
# Signal emitted to request updating of map (TODO)
25
self.updateMap = Signal('GraphicalModelerGrassInterface.updateMap')
27
def GetLayerTree(self):
30
def GetLayerList(self, prompt):
31
return self._model.GetMaps(prompt)
33
def GetMapDisplay(self):
36
implement connection with mapdisplay