home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / lib-scriptpackages / Finder / __init__.pyo (.txt) next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  6.0 KB  |  211 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. '''
  5. Package generated from /System/Library/CoreServices/Finder.app
  6. '''
  7. import aetools
  8. Error = aetools.Error
  9. import Standard_Suite
  10. import Legacy_suite
  11. import Containers_and_folders
  12. import Files
  13. import Finder_Basics
  14. import Finder_items
  15. import Window_classes
  16. import Type_Definitions
  17. import Enumerations
  18. _code_to_module = {
  19.     'CoRe': Standard_Suite,
  20.     'fleg': Legacy_suite,
  21.     'fndr': Containers_and_folders,
  22.     'fndr': Files,
  23.     'fndr': Finder_Basics,
  24.     'fndr': Finder_items,
  25.     'fndr': Window_classes,
  26.     'tpdf': Type_Definitions,
  27.     'tpnm': Enumerations }
  28. _code_to_fullname = {
  29.     'CoRe': ('Finder.Standard_Suite', 'Standard_Suite'),
  30.     'fleg': ('Finder.Legacy_suite', 'Legacy_suite'),
  31.     'fndr': ('Finder.Containers_and_folders', 'Containers_and_folders'),
  32.     'fndr': ('Finder.Files', 'Files'),
  33.     'fndr': ('Finder.Finder_Basics', 'Finder_Basics'),
  34.     'fndr': ('Finder.Finder_items', 'Finder_items'),
  35.     'fndr': ('Finder.Window_classes', 'Window_classes'),
  36.     'tpdf': ('Finder.Type_Definitions', 'Type_Definitions'),
  37.     'tpnm': ('Finder.Enumerations', 'Enumerations') }
  38. from Standard_Suite import *
  39. from Legacy_suite import *
  40. from Containers_and_folders import *
  41. from Files import *
  42. from Finder_Basics import *
  43. from Finder_items import *
  44. from Window_classes import *
  45. from Type_Definitions import *
  46. from Enumerations import *
  47.  
  48. def getbaseclasses(v):
  49.     if not getattr(v, '_propdict', None):
  50.         v._propdict = { }
  51.         v._elemdict = { }
  52.         for superclassname in getattr(v, '_superclassnames', []):
  53.             superclass = eval(superclassname)
  54.             getbaseclasses(superclass)
  55.             v._propdict.update(getattr(superclass, '_propdict', { }))
  56.             v._elemdict.update(getattr(superclass, '_elemdict', { }))
  57.         
  58.         v._propdict.update(getattr(v, '_privpropdict', { }))
  59.         v._elemdict.update(getattr(v, '_privelemdict', { }))
  60.     
  61.  
  62. import StdSuites
  63. getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
  64. getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
  65. getbaseclasses(StdSuites.Type_Names_Suite.color_table)
  66. getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
  67. getbaseclasses(StdSuites.Type_Names_Suite.string)
  68. getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
  69. getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
  70. getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
  71. getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
  72. getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
  73. getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
  74. getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
  75. getbaseclasses(StdSuites.Type_Names_Suite.null)
  76. getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
  77. getbaseclasses(StdSuites.Type_Names_Suite.rotation)
  78. getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
  79. getbaseclasses(StdSuites.Type_Names_Suite.long_point)
  80. getbaseclasses(StdSuites.Type_Names_Suite.target_id)
  81. getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
  82. getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
  83. getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
  84. getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
  85. getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
  86. getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
  87. getbaseclasses(StdSuites.Type_Names_Suite.version)
  88. getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
  89. getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
  90. getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
  91. getbaseclasses(StdSuites.Type_Names_Suite.point)
  92. getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
  93. getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
  94. getbaseclasses(StdSuites.Type_Names_Suite.menu)
  95. getbaseclasses(StdSuites.Type_Names_Suite.small_real)
  96. getbaseclasses(StdSuites.Type_Names_Suite.fixed)
  97. getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
  98. getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
  99. getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
  100. getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
  101. getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
  102. getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
  103. getbaseclasses(process)
  104. getbaseclasses(application_process)
  105. getbaseclasses(desk_accessory_process)
  106. getbaseclasses(application)
  107. getbaseclasses(trash_2d_object)
  108. getbaseclasses(desktop_2d_object)
  109. getbaseclasses(container)
  110. getbaseclasses(folder)
  111. getbaseclasses(disk)
  112. getbaseclasses(application)
  113. getbaseclasses(alias_file)
  114. getbaseclasses(package)
  115. getbaseclasses(file)
  116. getbaseclasses(application_file)
  117. getbaseclasses(internet_location_file)
  118. getbaseclasses(document_file)
  119. getbaseclasses(clipping)
  120. getbaseclasses(preferences_window)
  121. getbaseclasses(Finder_window)
  122. getbaseclasses(window)
  123. getbaseclasses(clipping_window)
  124. getbaseclasses(information_window)
  125. getbaseclasses(item)
  126. getbaseclasses(icon_view_options)
  127. getbaseclasses(preferences)
  128. getbaseclasses(alias_list)
  129. getbaseclasses(icon_family)
  130. getbaseclasses(label)
  131. getbaseclasses(column)
  132. getbaseclasses(list_view_options)
  133. _classdeclarations = {
  134.     'shor': StdSuites.Type_Names_Suite.small_integer,
  135.     'aeut': StdSuites.Type_Names_Suite.system_dictionary,
  136.     'clrt': StdSuites.Type_Names_Suite.color_table,
  137.     'fpnt': StdSuites.Type_Names_Suite.fixed_point,
  138.     'TEXT': StdSuites.Type_Names_Suite.string,
  139.     'elin': StdSuites.Type_Names_Suite.type_element_info,
  140.     'mLoc': StdSuites.Type_Names_Suite.machine_location,
  141.     'EPS ': StdSuites.Type_Names_Suite.PostScript_picture,
  142.     'pinf': StdSuites.Type_Names_Suite.type_property_info,
  143.     'cmen': StdSuites.Type_Names_Suite.menu_item,
  144.     'styl': StdSuites.Type_Names_Suite.scrap_styles,
  145.     'frct': StdSuites.Type_Names_Suite.fixed_rectangle,
  146.     'null': StdSuites.Type_Names_Suite.null,
  147.     'evin': StdSuites.Type_Names_Suite.type_event_info,
  148.     'trot': StdSuites.Type_Names_Suite.rotation,
  149.     'lfrc': StdSuites.Type_Names_Suite.long_fixed_rectangle,
  150.     'lpnt': StdSuites.Type_Names_Suite.long_point,
  151.     'targ': StdSuites.Type_Names_Suite.target_id,
  152.     'suin': StdSuites.Type_Names_Suite.type_suite_info,
  153.     'pmin': StdSuites.Type_Names_Suite.type_parameter_info,
  154.     'lfpt': StdSuites.Type_Names_Suite.long_fixed_point,
  155.     'qdrt': StdSuites.Type_Names_Suite.bounding_rectangle,
  156.     'TIFF': StdSuites.Type_Names_Suite.TIFF_picture,
  157.     'lfxd': StdSuites.Type_Names_Suite.long_fixed,
  158.     'vers': StdSuites.Type_Names_Suite.version,
  159.     'tr16': StdSuites.Type_Names_Suite.RGB16_color,
  160.     'comp': StdSuites.Type_Names_Suite.double_integer,
  161.     'insl': StdSuites.Type_Names_Suite.location_reference,
  162.     'QDpt': StdSuites.Type_Names_Suite.point,
  163.     'aete': StdSuites.Type_Names_Suite.application_dictionary,
  164.     'magn': StdSuites.Type_Names_Suite.unsigned_integer,
  165.     'cmnu': StdSuites.Type_Names_Suite.menu,
  166.     'sing': StdSuites.Type_Names_Suite.small_real,
  167.     'fixd': StdSuites.Type_Names_Suite.fixed,
  168.     'gcli': StdSuites.Type_Names_Suite.type_class_info,
  169.     'tr96': StdSuites.Type_Names_Suite.RGB96_color,
  170.     'tdas': StdSuites.Type_Names_Suite.dash_style,
  171.     'tpmm': StdSuites.Type_Names_Suite.pixel_map_record,
  172.     'exte': StdSuites.Type_Names_Suite.extended_real,
  173.     'lrct': StdSuites.Type_Names_Suite.long_rectangle,
  174.     'prcs': process,
  175.     'pcap': application_process,
  176.     'pcda': desk_accessory_process,
  177.     'capp': application,
  178.     'ctrs': trash_2d_object,
  179.     'cdsk': desktop_2d_object,
  180.     'ctnr': container,
  181.     'cfol': folder,
  182.     'cdis': disk,
  183.     'capp': application,
  184.     'alia': alias_file,
  185.     'pack': package,
  186.     'file': file,
  187.     'appf': application_file,
  188.     'inlf': internet_location_file,
  189.     'docf': document_file,
  190.     'clpf': clipping,
  191.     'pwnd': preferences_window,
  192.     'brow': Finder_window,
  193.     'cwin': window,
  194.     'lwnd': clipping_window,
  195.     'iwnd': information_window,
  196.     'cobj': item,
  197.     'icop': icon_view_options,
  198.     'cprf': preferences,
  199.     'alst': alias_list,
  200.     'ifam': icon_family,
  201.     'clbl': label,
  202.     'lvcl': column,
  203.     'lvop': list_view_options }
  204.  
  205. class Finder(Standard_Suite_Events, Legacy_suite_Events, Containers_and_folders_Events, Files_Events, Finder_Basics_Events, Finder_items_Events, Window_classes_Events, Type_Definitions_Events, Enumerations_Events, aetools.TalkTo):
  206.     _signature = 'MACS'
  207.     _moduleName = 'Finder'
  208.     _elemdict = application._elemdict
  209.     _propdict = application._propdict
  210.  
  211.