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

# Source Code for Module Gnumed.wxpython.gui.gmDataMiningPlugin

     1  #=====================================================
     2  # GNUmed data mining plugin aka SimpleReports
     3  #=====================================================
     4  # $Source: /home/ncq/Projekte/cvs2git/vcs-mirror/gnumed/gnumed/client/wxpython/gui/gmDataMiningPlugin.py,v $
     5  # $Id: gmDataMiningPlugin.py,v 1.4 2009-06-29 15:13:25 ncq Exp $
     6  __version__ = "$Revision: 1.4 $"
     7  __author__ = "Karsten Hilbert <Karsten.Hilbert@gmx.net>"
     8  __license__ = "GPL"
     9
    10  from Gnumed.wxpython import gmPlugin, gmDataMiningWidgets
    11
    12  #======================================================================
    13 -class gmDataMiningPlugin(gmPlugin.cNotebookPlugin):
    14          """Plugin to encapsulate a simple data mining window."""
    15
    16          tab_name = _('Reports')
    17          #--------------------------------------------------------
    18 -        def __init__(self):
    19                  gmPlugin.cNotebookPlugin.__init__(self)
    20          #--------------------------------------------------------
    21 -        def name(self):
    22                  return gmDataMiningPlugin.tab_name
    23          #--------------------------------------------------------
    24 -        def GetWidget(self, parent):
    25                  self._widget = gmDataMiningWidgets.cDataMiningPnl(parent, -1)
    26                  return self._widget
    27          #--------------------------------------------------------
    28 -        def MenuInfo(self):
    29                  return ('tools', _('&Report Generator'))
    30          #--------------------------------------------------------
    31 -        def can_receive_focus(self):
    32                  return True
    33  #======================================================================
    34  # $Log: gmDataMiningPlugin.py,v $
    35  # Revision 1.4  2009-06-29 15:13:25  ncq
    36  # - improved placement in menu hierarchy
    37  # - add active letters
    38  #
    39  # Revision 1.3  2007/10/12 07:28:24  ncq
    40  # - lots of import related cleanup
    41  #
    42  # Revision 1.2  2007/07/09 12:47:38  ncq
    43  # - refactoring adjustments
    44  #
    45  # Revision 1.1  2007/04/06 23:09:13  ncq
    46  # - this is new
    47  #
    48  #
    49