1
2
3
4
5
6
7
8
9
10
11
12
13 __doc__="""__init__
14
15 Initialize the RelationshipManager Product
16
17 $Id: __init__.py,v 1.9 2002/12/06 14:25:57 edahl Exp $"""
18
19 __version__ = "$Revision: 1.9 $"[11:-2]
20
21 from RelationshipManager import RelationshipManager, addRelationshipManager, \
22 manage_addRelationshipManager
23 from ToOneRelationship import ToOneRelationship, addToOneRelationship, \
24 manage_addToOneRelationship
25 from ToManyRelationship import ToManyRelationship, addToManyRelationship, \
26 manage_addToManyRelationship
27 from ToManyContRelationship import ToManyContRelationship, \
28 addToManyContRelationship, \
29 manage_addToManyContRelationship
30
32 registrar.registerClass(
33 RelationshipManager,
34 constructors = (addRelationshipManager, manage_addRelationshipManager))
35 registrar.registerBaseClass(RelationshipManager)
36 registrar.registerClass(
37 ToOneRelationship,
38 constructors = (addToOneRelationship, manage_addToOneRelationship),
39 icon = 'www/ToOneRelationship_icon.gif')
40 registrar.registerClass(
41 ToManyRelationship,
42 constructors = (addToManyRelationship, manage_addToManyRelationship),
43 icon = 'www/ToManyRelationship_icon.gif')
44 registrar.registerClass(
45 ToManyContRelationship,
46 constructors = (addToManyContRelationship,
47 manage_addToManyContRelationship),
48 icon = 'www/ToManyContRelationship_icon.gif')
49