source: QX/RPlain/__init__.py @ 946

Revision 946, 674 bytes checked in by fhoffmann, 2 years ago (diff)
Line 
1__doc__ = """Rplain initialization module."""
2__version__ = '0.1'
3
4import Rplain
5#--cybertools---
6import jeep
7import randomname
8import plot
9import rstat
10#---------------
11
12def initialize(context):
13    try:
14        context.registerClass(
15            Rplain.Rplain,
16            permission = 'Add RPlains',
17            constructors = (
18                Rplain.manage_addRplain,
19                Rplain.manage_addRplain),
20            icon = 'www/RPlain.gif'
21            )
22       
23    except:
24        import sys, traceback, string
25        type, val, tb = sys.exc_info()
26        sys.stderr.write(string.join(traceback.format_exception(type, val, tb), ''))
27        del type, val, tb
Note: See TracBrowser for help on using the repository browser.