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

http://unladen-swallow.googlecode.com/ · Python · 78 lines · 56 code · 13 blank · 9 comment · 2 complexity · 56f3544349a82a43f35a2cebf2b6e573 MD5 · raw file

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