py-cvs-rel2_1 (Rev 1.2) merge
[python/dscho.git] / Mac / Lib / lib-scriptpackages / Finder / Files_and_suitcases.py
blob5137594da7808dca4a5715519049d1e436568247
1 """Suite Files and suitcases: Classes representing files and suitcases
2 Level 1, version 1
4 Generated from Macintosh HD:Systeemmap:Finder
5 AETE/AEUT resource version 0/144, language 0, script 0
6 """
8 import aetools
9 import MacOS
11 _code = 'fndr'
13 class Files_and_suitcases_Events:
15 pass
18 class file(aetools.ComponentItem):
19 """file - A file """
20 want = 'file'
21 class _3c_Inheritance_3e_(aetools.NProperty):
22 """<Inheritance> - inherits some of its properties from the item class """
23 which = 'c@#^'
24 want = 'cobj'
25 class file_type(aetools.NProperty):
26 """file type - the OSType identifying the type of data contained in the item """
27 which = 'asty'
28 want = 'type'
29 class creator_type(aetools.NProperty):
30 """creator type - the OSType identifying the application that created the item """
31 which = 'fcrt'
32 want = 'type'
33 class locked(aetools.NProperty):
34 """locked - Is the file locked? """
35 which = 'aslk'
36 want = 'bool'
37 class stationery(aetools.NProperty):
38 """stationery - Is the file a stationery pad? """
39 which = 'pspd'
40 want = 'bool'
41 class product_version(aetools.NProperty):
42 """product version - the version of the product (visible at the top of the –Get Info” window) """
43 which = 'ver2'
44 want = 'itxt'
45 class version(aetools.NProperty):
46 """version - the version of the file (visible at the bottom of the –Get Info” window) """
47 which = 'vers'
48 want = 'itxt'
50 files = file
52 class alias_file(aetools.ComponentItem):
53 """alias file - An alias file (created with –Make Alias”) """
54 want = 'alia'
55 class original_item(aetools.NProperty):
56 """original item - the original item pointed to by the alias """
57 which = 'orig'
58 want = 'obj '
60 alias_files = alias_file
62 class application_file(aetools.ComponentItem):
63 """application file - An application's file on disk """
64 want = 'appf'
65 class suggested_size(aetools.NProperty):
66 """suggested size - the memory size with which the developer recommends the application be launched """
67 which = 'sprt'
68 want = 'long'
69 class minimum_size(aetools.NProperty):
70 """minimum size - the smallest memory size with which the application can be launched """
71 which = 'mprt'
72 want = 'long'
73 class preferred_size(aetools.NProperty):
74 """preferred size - the memory size with which the application will be launched """
75 which = 'appt'
76 want = 'long'
77 class accepts_high_level_events(aetools.NProperty):
78 """accepts high level events - Is the application high-level event aware? """
79 which = 'isab'
80 want = 'bool'
81 class has_scripting_terminology(aetools.NProperty):
82 """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """
83 which = 'hscr'
84 want = 'bool'
86 application_files = application_file
88 class document_file(aetools.ComponentItem):
89 """document file - A document file """
90 want = 'docf'
92 document_files = document_file
94 class font_file(aetools.ComponentItem):
95 """font file - A font file """
96 want = 'fntf'
98 font_files = font_file
100 class desk_accessory_file(aetools.ComponentItem):
101 """desk accessory file - A desk accessory file """
102 want = 'dafi'
104 desk_accessory_files = desk_accessory_file
106 class internet_location_file(aetools.ComponentItem):
107 """internet location file - An file containing an internet location """
108 want = 'inlf'
109 class location(aetools.NProperty):
110 """location - the internet location """
111 which = 'iloc'
112 want = 'itxt'
114 internet_location_files = internet_location_file
116 class sound_file(aetools.ComponentItem):
117 """sound file - A sound file """
118 want = 'sndf'
119 class sound(aetools.NProperty):
120 """sound - the sound data """
121 which = 'snd '
122 want = 'snd '
124 sound_files = sound_file
126 class clipping(aetools.ComponentItem):
127 """clipping - A clipping """
128 want = 'clpf'
130 clippings = clipping
132 class package(aetools.ComponentItem):
133 """package - A package """
134 want = 'pack'
136 packages = package
138 class suitcase(aetools.ComponentItem):
139 """suitcase - A font or desk accessory suitcase """
140 want = 'stcs'
141 # element 'cobj' as ['indx', 'name']
143 suitcases = suitcase
145 class font_suitcase(aetools.ComponentItem):
146 """font suitcase - A font suitcase """
147 want = 'fsut'
148 # element 'cobj' as ['indx', 'name']
150 font_suitcases = font_suitcase
152 class desk_accessory_suitcase(aetools.ComponentItem):
153 """desk accessory suitcase - A desk accessory suitcase """
154 want = 'dsut'
155 # element 'cobj' as ['indx', 'name']
157 desk_accessory_suitcases = desk_accessory_suitcase
158 file._propdict = {
159 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
160 'file_type' : file_type,
161 'creator_type' : creator_type,
162 'locked' : locked,
163 'stationery' : stationery,
164 'product_version' : product_version,
165 'version' : version,
167 file._elemdict = {
169 alias_file._propdict = {
170 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
171 'original_item' : original_item,
173 alias_file._elemdict = {
175 application_file._propdict = {
176 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
177 'suggested_size' : suggested_size,
178 'minimum_size' : minimum_size,
179 'preferred_size' : preferred_size,
180 'accepts_high_level_events' : accepts_high_level_events,
181 'has_scripting_terminology' : has_scripting_terminology,
183 application_file._elemdict = {
185 document_file._propdict = {
186 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
188 document_file._elemdict = {
190 font_file._propdict = {
191 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
193 font_file._elemdict = {
195 desk_accessory_file._propdict = {
196 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
198 desk_accessory_file._elemdict = {
200 internet_location_file._propdict = {
201 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
202 'location' : location,
204 internet_location_file._elemdict = {
206 sound_file._propdict = {
207 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
208 'sound' : sound,
210 sound_file._elemdict = {
212 clipping._propdict = {
213 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
215 clipping._elemdict = {
217 package._propdict = {
218 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
220 package._elemdict = {
222 import Earlier_terms
223 suitcase._propdict = {
224 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
226 suitcase._elemdict = {
227 'item' : Earlier_terms.item,
229 font_suitcase._propdict = {
230 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
232 font_suitcase._elemdict = {
233 'item' : Earlier_terms.item,
235 desk_accessory_suitcase._propdict = {
236 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
238 desk_accessory_suitcase._elemdict = {
239 'item' : Earlier_terms.item,
243 # Indices of types declared in this module
245 _classdeclarations = {
246 'clpf' : clipping,
247 'docf' : document_file,
248 'stcs' : suitcase,
249 'appf' : application_file,
250 'file' : file,
251 'fsut' : font_suitcase,
252 'pack' : package,
253 'dafi' : desk_accessory_file,
254 'alia' : alias_file,
255 'dsut' : desk_accessory_suitcase,
256 'inlf' : internet_location_file,
257 'fntf' : font_file,
258 'sndf' : sound_file,
261 _propdeclarations = {
262 'orig' : original_item,
263 'pspd' : stationery,
264 'aslk' : locked,
265 'iloc' : location,
266 'mprt' : minimum_size,
267 'fcrt' : creator_type,
268 'c@#^' : _3c_Inheritance_3e_,
269 'asty' : file_type,
270 'hscr' : has_scripting_terminology,
271 'sprt' : suggested_size,
272 'appt' : preferred_size,
273 'isab' : accepts_high_level_events,
274 'snd ' : sound,
275 'ver2' : product_version,
276 'vers' : version,
279 _compdeclarations = {
282 _enumdeclarations = {