PageRenderTime 19ms CodeModel.GetById 1ms app.highlight 12ms RepoModel.GetById 2ms app.codeStats 0ms

/Mac/Tools/Doc/HelpIndexingTool/__init__.py

http://unladen-swallow.googlecode.com/
Python | 78 lines | 56 code | 13 blank | 9 comment | 4 complexity | 56f3544349a82a43f35a2cebf2b6e573 MD5 | raw file
 1"""
 2Package generated from /Developer/Applications/Apple Help Indexing Tool.app
 3"""
 4import aetools
 5Error = aetools.Error
 6import Standard_Suite
 7import Help_Indexing_Tool_Suite
 8import odds_and_ends
 9import Miscellaneous_Standards
10import Required_Suite
11
12
13_code_to_module = {
14    'CoRe' : Standard_Suite,
15    'HIT ' : Help_Indexing_Tool_Suite,
16    'Odds' : odds_and_ends,
17    'misc' : Miscellaneous_Standards,
18    'reqd' : Required_Suite,
19}
20
21
22
23_code_to_fullname = {
24    'CoRe' : ('HelpIndexingTool.Standard_Suite', 'Standard_Suite'),
25    'HIT ' : ('HelpIndexingTool.Help_Indexing_Tool_Suite', 'Help_Indexing_Tool_Suite'),
26    'Odds' : ('HelpIndexingTool.odds_and_ends', 'odds_and_ends'),
27    'misc' : ('HelpIndexingTool.Miscellaneous_Standards', 'Miscellaneous_Standards'),
28    'reqd' : ('HelpIndexingTool.Required_Suite', 'Required_Suite'),
29}
30
31from Standard_Suite import *
32from Help_Indexing_Tool_Suite import *
33from odds_and_ends import *
34from Miscellaneous_Standards import *
35from Required_Suite import *
36
37def getbaseclasses(v):
38    if not getattr(v, '_propdict', None):
39        v._propdict = {}
40        v._elemdict = {}
41        for superclassname in getattr(v, '_superclassnames', []):
42            superclass = eval(superclassname)
43            getbaseclasses(superclass)
44            v._propdict.update(getattr(superclass, '_propdict', {}))
45            v._elemdict.update(getattr(superclass, '_elemdict', {}))
46        v._propdict.update(getattr(v, '_privpropdict', {}))
47        v._elemdict.update(getattr(v, '_privelemdict', {}))
48
49import StdSuites
50
51#
52# Set property and element dictionaries now that all classes have been defined
53#
54getbaseclasses(window)
55getbaseclasses(application)
56getbaseclasses(document)
57getbaseclasses(application)
58
59#
60# Indices of types declared in this module
61#
62_classdeclarations = {
63    'cwin' : window,
64    'capp' : application,
65    'docu' : document,
66    'capp' : application,
67}
68
69
70class HelpIndexingTool(Standard_Suite_Events,
71        Help_Indexing_Tool_Suite_Events,
72        odds_and_ends_Events,
73        Miscellaneous_Standards_Events,
74        Required_Suite_Events,
75        aetools.TalkTo):
76    _signature = 'hiti'
77
78    _moduleName = 'HelpIndexingTool'