Package orm2 :: Package ui :: Package ORMProcedureModule
[hide private]
[frames] | no frames]

Source Code for Package orm2.ui.ORMProcedureModule

 1  #!/usr/bin/env python 
 2  # -*- coding: iso-8859-1 -*- 
 3   
 4  ##  This file is part of orm, The Object Relational Membrane. 
 5  ## 
 6  ##  Copyright 2002-2004 by Diedrich Vorberg <diedrich@tux4web.de> 
 7  ## 
 8  ##  All Rights Reserved 
 9  ## 
10  ##  For more Information on orm see the README file. 
11  ## 
12  ##  This program is free software; you can redistribute it and/or modify 
13  ##  it under the terms of the GNU General Public License as published by 
14  ##  the Free Software Foundation; either version 2 of the License, or 
15  ##  (at your option) any later version. 
16  ## 
17  ##  This program is distributed in the hope that it will be useful, 
18  ##  but WITHOUT ANY WARRANTY; without even the implied warranty of 
19  ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
20  ##  GNU General Public License for more details. 
21  ## 
22  ##  You should have received a copy of the GNU General Public License 
23  ##  along with this program; if not, write to the Free Software 
24  ##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
25  ## 
26  ##  I have added a copy of the GPL in the file COPYING 
27   
28  # Changelog 
29  # --------- 
30  # 
31  # $Log: __init__.py,v $ 
32  # Revision 1.2  2006/10/07 22:08:29  diedrich 
33  # Added ORMProcedure class. 
34  # 
35  # Revision 1.1  2006/06/09 15:37:39  diedrich 
36  # Initial commit 
37  # 
38  # Revision 1.2  2004/08/02 23:05:35  t4w00-diedrich 
39  # Added OEMFSPageTemplate. 
40  # 
41  # Revision 1.1  2004/08/01 15:44:02  t4w00-diedrich 
42  # Initial commit. 
43  # 
44  # 
45  # 
46   
47  import ORMProcedureModule 
48  import ORMProcedure 
49   
50 -def initialize(context):
51 context.registerClass( 52 ORMProcedureModule.ORMProcedureModule, 53 permission='Add ORM Procedure Module', 54 constructors=(ORMProcedureModule.manage_addORMProcedureModuleForm, 55 ORMProcedureModule.manage_addORMProcedureModule),) 56 context.registerBaseClass(ORMProcedureModule.ORMProcedureModule) 57 58 context.registerClass( 59 ORMProcedure.ORMProcedure, 60 permission='Add ORM Procedure', 61 constructors=(ORMProcedure.manage_addORMProcedureForm, 62 ORMProcedure.manage_addORMProcedure),) 63 context.registerBaseClass(ORMProcedure.ORMProcedure)
64