2000-08-20 16:29:03 -03:00
|
|
|
"""Suite Files and suitcases: Classes representing files and suitcases
|
|
|
|
Level 1, version 1
|
|
|
|
|
2003-03-23 18:07:28 -04:00
|
|
|
Generated from /Volumes/Moes/Systeemmap/Finder
|
2000-08-20 16:29:03 -03:00
|
|
|
AETE/AEUT resource version 0/144, language 0, script 0
|
|
|
|
"""
|
|
|
|
|
|
|
|
import aetools
|
|
|
|
import MacOS
|
|
|
|
|
|
|
|
_code = 'fndr'
|
|
|
|
|
|
|
|
class Files_and_suitcases_Events:
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class alias_file(aetools.ComponentItem):
|
2002-08-07 12:53:42 -03:00
|
|
|
"""alias file - An alias file (created with \xd2Make Alias\xd3) """
|
2000-08-20 16:29:03 -03:00
|
|
|
want = 'alia'
|
2003-03-28 18:07:22 -04:00
|
|
|
class _3c_Inheritance_3e_(aetools.NProperty):
|
|
|
|
"""<Inheritance> - inherits some of its properties from the file class """
|
|
|
|
which = 'c@#^'
|
|
|
|
want = 'file'
|
2000-08-20 16:29:03 -03:00
|
|
|
class original_item(aetools.NProperty):
|
|
|
|
"""original item - the original item pointed to by the alias """
|
|
|
|
which = 'orig'
|
|
|
|
want = 'obj '
|
|
|
|
|
|
|
|
alias_files = alias_file
|
|
|
|
|
|
|
|
class application_file(aetools.ComponentItem):
|
|
|
|
"""application file - An application's file on disk """
|
|
|
|
want = 'appf'
|
|
|
|
class suggested_size(aetools.NProperty):
|
|
|
|
"""suggested size - the memory size with which the developer recommends the application be launched """
|
|
|
|
which = 'sprt'
|
|
|
|
want = 'long'
|
|
|
|
class minimum_size(aetools.NProperty):
|
|
|
|
"""minimum size - the smallest memory size with which the application can be launched """
|
|
|
|
which = 'mprt'
|
|
|
|
want = 'long'
|
|
|
|
class preferred_size(aetools.NProperty):
|
|
|
|
"""preferred size - the memory size with which the application will be launched """
|
|
|
|
which = 'appt'
|
|
|
|
want = 'long'
|
|
|
|
class accepts_high_level_events(aetools.NProperty):
|
|
|
|
"""accepts high level events - Is the application high-level event aware? """
|
|
|
|
which = 'isab'
|
|
|
|
want = 'bool'
|
|
|
|
class has_scripting_terminology(aetools.NProperty):
|
|
|
|
"""has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """
|
|
|
|
which = 'hscr'
|
|
|
|
want = 'bool'
|
|
|
|
|
|
|
|
application_files = application_file
|
|
|
|
|
2003-03-28 18:07:22 -04:00
|
|
|
class clipping(aetools.ComponentItem):
|
|
|
|
"""clipping - A clipping """
|
|
|
|
want = 'clpf'
|
|
|
|
|
|
|
|
clippings = clipping
|
|
|
|
|
|
|
|
class desk_accessory_file(aetools.ComponentItem):
|
|
|
|
"""desk accessory file - A desk accessory file """
|
|
|
|
want = 'dafi'
|
|
|
|
|
|
|
|
desk_accessory_files = desk_accessory_file
|
|
|
|
|
|
|
|
class desk_accessory_suitcase(aetools.ComponentItem):
|
|
|
|
"""desk accessory suitcase - A desk accessory suitcase """
|
|
|
|
want = 'dsut'
|
|
|
|
# element 'cobj' as ['indx', 'name']
|
|
|
|
|
|
|
|
desk_accessory_suitcases = desk_accessory_suitcase
|
|
|
|
|
2000-08-20 16:29:03 -03:00
|
|
|
class document_file(aetools.ComponentItem):
|
|
|
|
"""document file - A document file """
|
|
|
|
want = 'docf'
|
|
|
|
|
|
|
|
document_files = document_file
|
|
|
|
|
2003-03-28 18:07:22 -04:00
|
|
|
class file(aetools.ComponentItem):
|
|
|
|
"""file - A file """
|
|
|
|
want = 'file'
|
|
|
|
class file_type(aetools.NProperty):
|
|
|
|
"""file type - the OSType identifying the type of data contained in the item """
|
|
|
|
which = 'asty'
|
|
|
|
want = 'type'
|
|
|
|
class creator_type(aetools.NProperty):
|
|
|
|
"""creator type - the OSType identifying the application that created the item """
|
|
|
|
which = 'fcrt'
|
|
|
|
want = 'type'
|
|
|
|
class locked(aetools.NProperty):
|
|
|
|
"""locked - Is the file locked? """
|
|
|
|
which = 'aslk'
|
|
|
|
want = 'bool'
|
|
|
|
class stationery(aetools.NProperty):
|
|
|
|
"""stationery - Is the file a stationery pad? """
|
|
|
|
which = 'pspd'
|
|
|
|
want = 'bool'
|
|
|
|
class product_version(aetools.NProperty):
|
|
|
|
"""product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
|
|
|
|
which = 'ver2'
|
|
|
|
want = 'itxt'
|
|
|
|
class version(aetools.NProperty):
|
|
|
|
"""version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
|
|
|
|
which = 'vers'
|
|
|
|
want = 'itxt'
|
|
|
|
|
|
|
|
files = file
|
|
|
|
|
2000-08-20 16:29:03 -03:00
|
|
|
class font_file(aetools.ComponentItem):
|
|
|
|
"""font file - A font file """
|
|
|
|
want = 'fntf'
|
|
|
|
|
|
|
|
font_files = font_file
|
|
|
|
|
2003-03-28 18:07:22 -04:00
|
|
|
class font_suitcase(aetools.ComponentItem):
|
|
|
|
"""font suitcase - A font suitcase """
|
|
|
|
want = 'fsut'
|
|
|
|
# element 'cobj' as ['indx', 'name']
|
2000-08-20 16:29:03 -03:00
|
|
|
|
2003-03-28 18:07:22 -04:00
|
|
|
font_suitcases = font_suitcase
|
2000-08-20 16:29:03 -03:00
|
|
|
|
|
|
|
class internet_location_file(aetools.ComponentItem):
|
|
|
|
"""internet location file - An file containing an internet location """
|
|
|
|
want = 'inlf'
|
|
|
|
class location(aetools.NProperty):
|
|
|
|
"""location - the internet location """
|
|
|
|
which = 'iloc'
|
|
|
|
want = 'itxt'
|
|
|
|
|
|
|
|
internet_location_files = internet_location_file
|
|
|
|
|
2003-03-28 18:07:22 -04:00
|
|
|
class package(aetools.ComponentItem):
|
|
|
|
"""package - A package """
|
|
|
|
want = 'pack'
|
|
|
|
|
|
|
|
packages = package
|
|
|
|
|
2000-08-20 16:29:03 -03:00
|
|
|
class sound_file(aetools.ComponentItem):
|
|
|
|
"""sound file - A sound file """
|
|
|
|
want = 'sndf'
|
|
|
|
class sound(aetools.NProperty):
|
|
|
|
"""sound - the sound data """
|
|
|
|
which = 'snd '
|
|
|
|
want = 'snd '
|
|
|
|
|
|
|
|
sound_files = sound_file
|
|
|
|
|
|
|
|
class suitcase(aetools.ComponentItem):
|
|
|
|
"""suitcase - A font or desk accessory suitcase """
|
|
|
|
want = 'stcs'
|
|
|
|
# element 'cobj' as ['indx', 'name']
|
|
|
|
|
|
|
|
suitcases = suitcase
|
2002-08-07 12:53:42 -03:00
|
|
|
alias_file._superclassnames = ['file']
|
|
|
|
alias_file._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
'original_item' : original_item,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
alias_file._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
application_file._superclassnames = ['file']
|
|
|
|
application_file._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
'suggested_size' : suggested_size,
|
|
|
|
'minimum_size' : minimum_size,
|
|
|
|
'preferred_size' : preferred_size,
|
|
|
|
'accepts_high_level_events' : accepts_high_level_events,
|
|
|
|
'has_scripting_terminology' : has_scripting_terminology,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
application_file._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2003-03-28 18:07:22 -04:00
|
|
|
clipping._superclassnames = ['file']
|
|
|
|
clipping._privpropdict = {
|
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
|
|
|
clipping._privelemdict = {
|
|
|
|
}
|
|
|
|
desk_accessory_file._superclassnames = ['file']
|
|
|
|
desk_accessory_file._privpropdict = {
|
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
|
|
|
desk_accessory_file._privelemdict = {
|
|
|
|
}
|
|
|
|
desk_accessory_suitcase._superclassnames = ['suitcase']
|
|
|
|
import Earlier_terms
|
|
|
|
desk_accessory_suitcase._privpropdict = {
|
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
|
|
|
desk_accessory_suitcase._privelemdict = {
|
|
|
|
'item' : Earlier_terms.item,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
document_file._superclassnames = ['file']
|
|
|
|
document_file._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
document_file._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2003-03-28 18:07:22 -04:00
|
|
|
file._superclassnames = ['item']
|
|
|
|
file._privpropdict = {
|
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
'file_type' : file_type,
|
|
|
|
'creator_type' : creator_type,
|
|
|
|
'locked' : locked,
|
|
|
|
'stationery' : stationery,
|
|
|
|
'product_version' : product_version,
|
|
|
|
'version' : version,
|
|
|
|
}
|
|
|
|
file._privelemdict = {
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
font_file._superclassnames = ['file']
|
|
|
|
font_file._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
font_file._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2003-03-28 18:07:22 -04:00
|
|
|
font_suitcase._superclassnames = ['suitcase']
|
|
|
|
font_suitcase._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
2003-03-28 18:07:22 -04:00
|
|
|
font_suitcase._privelemdict = {
|
|
|
|
'item' : Earlier_terms.item,
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
internet_location_file._superclassnames = ['file']
|
|
|
|
internet_location_file._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
'location' : location,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
internet_location_file._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2003-03-28 18:07:22 -04:00
|
|
|
package._superclassnames = ['item']
|
|
|
|
package._privpropdict = {
|
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
|
|
|
package._privelemdict = {
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
sound_file._superclassnames = ['file']
|
|
|
|
sound_file._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
'sound' : sound,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
sound_file._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
suitcase._superclassnames = ['file']
|
|
|
|
suitcase._privpropdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
suitcase._privelemdict = {
|
2000-08-20 16:29:03 -03:00
|
|
|
'item' : Earlier_terms.item,
|
|
|
|
}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Indices of types declared in this module
|
|
|
|
#
|
|
|
|
_classdeclarations = {
|
2002-04-23 18:08:54 -03:00
|
|
|
'sndf' : sound_file,
|
|
|
|
'fntf' : font_file,
|
2003-03-28 18:07:22 -04:00
|
|
|
'stcs' : suitcase,
|
2000-08-20 16:29:03 -03:00
|
|
|
'clpf' : clipping,
|
2003-03-28 18:07:22 -04:00
|
|
|
'dsut' : desk_accessory_suitcase,
|
2000-08-20 16:29:03 -03:00
|
|
|
'alia' : alias_file,
|
2002-04-23 18:08:54 -03:00
|
|
|
'dafi' : desk_accessory_file,
|
|
|
|
'fsut' : font_suitcase,
|
|
|
|
'file' : file,
|
|
|
|
'appf' : application_file,
|
2003-03-28 18:07:22 -04:00
|
|
|
'inlf' : internet_location_file,
|
2002-04-23 18:08:54 -03:00
|
|
|
'docf' : document_file,
|
|
|
|
'pack' : package,
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
_propdeclarations = {
|
2002-04-23 18:08:54 -03:00
|
|
|
'ver2' : product_version,
|
2003-03-28 18:07:22 -04:00
|
|
|
'vers' : version,
|
2000-08-20 16:29:03 -03:00
|
|
|
'appt' : preferred_size,
|
2003-03-28 18:07:22 -04:00
|
|
|
'snd ' : sound,
|
|
|
|
'pspd' : stationery,
|
2002-04-23 18:08:54 -03:00
|
|
|
'sprt' : suggested_size,
|
2000-08-20 16:29:03 -03:00
|
|
|
'isab' : accepts_high_level_events,
|
2002-04-23 18:08:54 -03:00
|
|
|
'hscr' : has_scripting_terminology,
|
|
|
|
'asty' : file_type,
|
|
|
|
'c@#^' : _3c_Inheritance_3e_,
|
|
|
|
'fcrt' : creator_type,
|
|
|
|
'mprt' : minimum_size,
|
|
|
|
'iloc' : location,
|
|
|
|
'aslk' : locked,
|
|
|
|
'orig' : original_item,
|
2000-08-20 16:29:03 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
_compdeclarations = {
|
|
|
|
}
|
|
|
|
|
|
|
|
_enumdeclarations = {
|
|
|
|
}
|