Line | |
---|
1 | import documentViewer |
---|
2 | import MpdlXmlTextServer |
---|
3 | import MpiwgXmlTextServer |
---|
4 | import HocrTextServer |
---|
5 | |
---|
6 | def initialize(context): |
---|
7 | """initialize ImageCollection""" |
---|
8 | context.registerClass( |
---|
9 | documentViewer.documentViewer, |
---|
10 | constructors = ( |
---|
11 | documentViewer.manage_AddDocumentViewerForm, |
---|
12 | documentViewer.manage_AddDocumentViewer |
---|
13 | ) |
---|
14 | ) |
---|
15 | |
---|
16 | context.registerClass( |
---|
17 | MpdlXmlTextServer.MpdlXmlTextServer, |
---|
18 | constructors = ( |
---|
19 | MpdlXmlTextServer.manage_addMpdlXmlTextServerForm, |
---|
20 | MpdlXmlTextServer.manage_addMpdlXmlTextServer |
---|
21 | ) |
---|
22 | ) |
---|
23 | |
---|
24 | context.registerClass( |
---|
25 | MpiwgXmlTextServer.MpiwgXmlTextServer, |
---|
26 | constructors = ( |
---|
27 | MpiwgXmlTextServer.manage_addMpiwgXmlTextServerForm, |
---|
28 | MpiwgXmlTextServer.manage_addMpiwgXmlTextServer |
---|
29 | ) |
---|
30 | ) |
---|
31 | |
---|
32 | |
---|
33 | context.registerClass( |
---|
34 | HocrTextServer.HocrTextServer, |
---|
35 | constructors = ( |
---|
36 | HocrTextServer.manage_addHocrTextServerForm, |
---|
37 | HocrTextServer.manage_addHocrTextServer |
---|
38 | ) |
---|
39 | ) |
---|
40 | |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.