/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py

http://unladen-swallow.googlecode.com/ · Python · 145 lines · 117 code · 19 blank · 9 comment · 0 complexity · 306896ccf638a13e9013580b086db977 MD5 · raw file

  1. """Suite Enumerations: Enumerations for the Finder
  2. Level 1, version 1
  3. Generated from /System/Library/CoreServices/Finder.app
  4. AETE/AEUT resource version 0/144, language 0, script 0
  5. """
  6. import aetools
  7. import MacOS
  8. _code = 'tpnm'
  9. from StdSuites.Type_Names_Suite import *
  10. class Enumerations_Events(Type_Names_Suite_Events):
  11. pass
  12. _Enum_earr = {
  13. 'not_arranged' : 'narr', #
  14. 'snap_to_grid' : 'grda', #
  15. 'arranged_by_name' : 'nama', #
  16. 'arranged_by_modification_date' : 'mdta', #
  17. 'arranged_by_creation_date' : 'cdta', #
  18. 'arranged_by_size' : 'siza', #
  19. 'arranged_by_kind' : 'kina', #
  20. 'arranged_by_label' : 'laba', #
  21. }
  22. _Enum_ecvw = {
  23. 'icon_view' : 'icnv', #
  24. 'list_view' : 'lsvw', #
  25. 'column_view' : 'clvw', #
  26. }
  27. _Enum_edfm = {
  28. 'Mac_OS_format' : 'dfhf', #
  29. 'Mac_OS_Extended_format' : 'dfh+', #
  30. 'UFS_format' : 'dfuf', #
  31. 'NFS_format' : 'dfnf', #
  32. 'audio_format' : 'dfau', #
  33. 'ProDOS_format' : 'dfpr', #
  34. 'MS_2d_DOS_format' : 'dfms', #
  35. 'ISO_9660_format' : 'df96', #
  36. 'High_Sierra_format' : 'dfhs', #
  37. 'QuickTake_format' : 'dfqt', #
  38. 'Apple_Photo_format' : 'dfph', #
  39. 'AppleShare_format' : 'dfas', #
  40. 'UDF_format' : 'dfud', #
  41. 'WebDAV_format' : 'dfwd', #
  42. 'FTP_format' : 'dfft', #
  43. 'Packet_2d_written_UDF_format' : 'dfpu', #
  44. 'unknown_format' : 'df??', #
  45. }
  46. _Enum_elsv = {
  47. 'name_column' : 'elsn', #
  48. 'modification_date_column' : 'elsm', #
  49. 'creation_date_column' : 'elsc', #
  50. 'size_column' : 'elss', #
  51. 'kind_column' : 'elsk', #
  52. 'label_column' : 'elsl', #
  53. 'version_column' : 'elsv', #
  54. 'comment_column' : 'elsC', #
  55. }
  56. _Enum_ipnl = {
  57. 'General_Information_panel' : 'gpnl', #
  58. 'Sharing_panel' : 'spnl', #
  59. 'Memory_panel' : 'mpnl', #
  60. 'Preview_panel' : 'vpnl', #
  61. 'Application_panel' : 'apnl', #
  62. 'Languages_panel' : 'pklg', #
  63. 'Plugins_panel' : 'pkpg', #
  64. 'Name__26__Extension_panel' : 'npnl', #
  65. 'Comments_panel' : 'cpnl', #
  66. 'Content_Index_panel' : 'cinl', #
  67. }
  68. _Enum_isiz = {
  69. 'mini' : 'miic', #
  70. 'small' : 'smic', #
  71. 'large' : 'lgic', #
  72. }
  73. _Enum_lvic = {
  74. 'small_icon' : 'smic', #
  75. 'large_icon' : 'lgic', #
  76. }
  77. _Enum_priv = {
  78. 'read_only' : 'read', #
  79. 'read_write' : 'rdwr', #
  80. 'write_only' : 'writ', #
  81. 'none' : 'none', #
  82. }
  83. _Enum_sodr = {
  84. 'normal' : 'snrm', #
  85. 'reversed' : 'srvs', #
  86. }
  87. _Enum_vwby = {
  88. 'conflicts' : 'cflc', #
  89. 'existing_items' : 'exsi', #
  90. 'small_icon' : 'smic', #
  91. 'icon' : 'iimg', #
  92. 'name' : 'pnam', #
  93. 'modification_date' : 'asmo', #
  94. 'size' : 'ptsz', #
  95. 'kind' : 'kind', #
  96. 'comment' : 'comt', #
  97. 'label' : 'labi', #
  98. 'version' : 'vers', #
  99. 'creation_date' : 'ascd', #
  100. 'small_button' : 'smbu', #
  101. 'large_button' : 'lgbu', #
  102. 'grid' : 'grid', #
  103. 'all' : 'kyal', #
  104. }
  105. #
  106. # Indices of types declared in this module
  107. #
  108. _classdeclarations = {
  109. }
  110. _propdeclarations = {
  111. }
  112. _compdeclarations = {
  113. }
  114. _enumdeclarations = {
  115. 'earr' : _Enum_earr,
  116. 'ecvw' : _Enum_ecvw,
  117. 'edfm' : _Enum_edfm,
  118. 'elsv' : _Enum_elsv,
  119. 'ipnl' : _Enum_ipnl,
  120. 'isiz' : _Enum_isiz,
  121. 'lvic' : _Enum_lvic,
  122. 'priv' : _Enum_priv,
  123. 'sodr' : _Enum_sodr,
  124. 'vwby' : _Enum_vwby,
  125. }