Package Gnumed :: Package wxpython :: Package gui :: Module gmDataMiningPlugin
[frames] | no frames]

Source Code for Module Gnumed.wxpython.gui.gmDataMiningPlugin

 1  # -*- coding: utf-8 -*- 
 2  #===================================================== 
 3  # GNUmed data mining plugin aka SimpleReports 
 4  #===================================================== 
 5  __author__ = "Karsten Hilbert <Karsten.Hilbert@gmx.net>" 
 6  __license__ = "GPL" 
 7   
 8  from Gnumed.wxpython import gmPlugin, gmDataMiningWidgets 
 9   
10  #====================================================================== 
11 -class gmDataMiningPlugin(gmPlugin.cNotebookPlugin):
12 """Plugin to encapsulate a simple data mining window.""" 13 14 tab_name = _('Reports') 15 #--------------------------------------------------------
16 - def __init__(self):
18 #--------------------------------------------------------
19 - def name(self):
21 #--------------------------------------------------------
22 - def GetWidget(self, parent):
23 self._widget = gmDataMiningWidgets.cDataMiningPnl(parent, -1) 24 return self._widget
25 #--------------------------------------------------------
26 - def MenuInfo(self):
27 return ('tools', _('&Report Generator'))
28 #--------------------------------------------------------
29 - def can_receive_focus(self):
30 return True
31 #====================================================================== 32