summaryrefslogtreecommitdiffstats
path: root/Mac/OSX/Doc/HelpIndexingTool/__init__.py
blob: 5359df53c49fabb6012c86d9fe0033fe629babe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
"""
Package generated from /Developer/Applications/Apple Help Indexing Tool.app
"""
import aetools
Error = aetools.Error
import Standard_Suite
import Help_Indexing_Tool_Suite
import odds_and_ends
import Miscellaneous_Standards
import Required_Suite


_code_to_module = {
    'CoRe' : Standard_Suite,
    'HIT ' : Help_Indexing_Tool_Suite,
    'Odds' : odds_and_ends,
    'misc' : Miscellaneous_Standards,
    'reqd' : Required_Suite,
}



_code_to_fullname = {
    'CoRe' : ('HelpIndexingTool.Standard_Suite', 'Standard_Suite'),
    'HIT ' : ('HelpIndexingTool.Help_Indexing_Tool_Suite', 'Help_Indexing_Tool_Suite'),
    'Odds' : ('HelpIndexingTool.odds_and_ends', 'odds_and_ends'),
    'misc' : ('HelpIndexingTool.Miscellaneous_Standards', 'Miscellaneous_Standards'),
    'reqd' : ('HelpIndexingTool.Required_Suite', 'Required_Suite'),
}

from Standard_Suite import *
from Help_Indexing_Tool_Suite import *
from odds_and_ends import *
from Miscellaneous_Standards import *
from Required_Suite import *

def getbaseclasses(v):
    if not getattr(v, '_propdict', None):
        v._propdict = {}
        v._elemdict = {}
        for superclassname in getattr(v, '_superclassnames', []):
            superclass = eval(superclassname)
            getbaseclasses(superclass)
            v._propdict.update(getattr(superclass, '_propdict', {}))
            v._elemdict.update(getattr(superclass, '_elemdict', {}))
        v._propdict.update(getattr(v, '_privpropdict', {}))
        v._elemdict.update(getattr(v, '_privelemdict', {}))

import StdSuites

#
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(document)
getbaseclasses(application)

#
# Indices of types declared in this module
#
_classdeclarations = {
    'cwin' : window,
    'capp' : application,
    'docu' : document,
    'capp' : application,
}


class HelpIndexingTool(Standard_Suite_Events,
        Help_Indexing_Tool_Suite_Events,
        odds_and_ends_Events,
        Miscellaneous_Standards_Events,
        Required_Suite_Events,
        aetools.TalkTo):
    _signature = 'hiti'

    _moduleName = 'HelpIndexingTool'