PageRenderTime 22ms CodeModel.GetById 10ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

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