2000-08-20 16:29:03 -03:00
""" Suite Containers and folders: Classes that can contain other file system items
Level 1 , version 1
2003-03-28 20:13:17 -04:00
Generated from / System / Library / CoreServices / Finder . app
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 Containers_and_folders_Events :
pass
class container ( aetools . ComponentItem ) :
""" container - An item that contains other items """
want = ' ctnr '
class _3c_Inheritance_3e_ ( aetools . NProperty ) :
""" <Inheritance> - inherits some of its properties from the item class """
which = ' c@#^ '
want = ' cobj '
2003-03-28 19:38:00 -04:00
class completely_expanded ( aetools . NProperty ) :
2003-03-28 20:13:17 -04:00
""" completely expanded - (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """
2003-03-28 19:38:00 -04:00
which = ' pexc '
want = ' bool '
2003-03-28 20:13:17 -04:00
class container_window ( aetools . NProperty ) :
""" container window - the container window for this folder """
which = ' cwnd '
want = ' obj '
2000-08-20 16:29:03 -03:00
class entire_contents ( aetools . NProperty ) :
""" entire contents - the entire contents of the container, including the contents of its children """
which = ' ects '
want = ' obj '
class expandable ( aetools . NProperty ) :
2003-03-28 20:13:17 -04:00
""" expandable - (NOT AVAILABLE YET) Is the container capable of being expanded as an outline? """
2000-08-20 16:29:03 -03:00
which = ' pexa '
want = ' bool '
class expanded ( aetools . NProperty ) :
2003-03-28 20:13:17 -04:00
""" expanded - (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists) """
2000-08-20 16:29:03 -03:00
which = ' pexp '
want = ' bool '
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
2003-03-28 19:38:00 -04:00
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'clpf' as ['indx', 'name']
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'docf' as ['indx', 'name']
2003-03-28 19:38:00 -04:00
# element 'file' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
containers = container
2003-03-28 18:07:22 -04:00
class desktop_2d_object ( aetools . ComponentItem ) :
""" desktop-object - Desktop-object is the class of the \xd2 desktop \xd3 object """
want = ' cdsk '
2000-08-20 16:29:03 -03:00
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
2003-03-28 19:38:00 -04:00
# element 'cdis' as ['indx', 'name']
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'clpf' as ['indx', 'name']
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'docf' as ['indx', 'name']
2003-03-28 19:38:00 -04:00
# element 'file' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
class disk ( aetools . ComponentItem ) :
""" disk - A disk """
want = ' cdis '
class capacity ( aetools . NProperty ) :
""" capacity - the total number of bytes (free or used) on the disk """
which = ' capa '
2003-03-28 20:13:17 -04:00
want = ' comp '
2000-08-20 16:29:03 -03:00
class ejectable ( aetools . NProperty ) :
""" ejectable - Can the media be ejected (floppies, CD ' s, and so on)? """
which = ' isej '
want = ' bool '
2003-03-28 20:13:17 -04:00
class format ( aetools . NProperty ) :
""" format - the filesystem format of this disk """
which = ' dfmt '
want = ' edfm '
2003-03-28 19:38:00 -04:00
class free_space ( aetools . NProperty ) :
""" free space - the number of free bytes left on the disk """
which = ' frsp '
2003-03-28 20:13:17 -04:00
want = ' comp '
class ignore_privileges ( aetools . NProperty ) :
""" ignore privileges - Ignore permissions on this disk? """
which = ' igpr '
want = ' bool '
2000-08-20 16:29:03 -03:00
class local_volume ( aetools . NProperty ) :
""" local volume - Is the media a local volume (as opposed to a file server)? """
which = ' isrv '
want = ' bool '
class startup ( aetools . NProperty ) :
""" startup - Is this disk the boot disk? """
which = ' istd '
want = ' bool '
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
2003-03-28 19:38:00 -04:00
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'clpf' as ['indx', 'name']
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'docf' as ['indx', 'name']
2003-03-28 19:38:00 -04:00
# element 'file' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
disks = disk
class folder ( aetools . ComponentItem ) :
""" folder - A folder """
want = ' cfol '
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
2003-03-28 19:38:00 -04:00
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'clpf' as ['indx', 'name']
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'docf' as ['indx', 'name']
2003-03-28 19:38:00 -04:00
# element 'file' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
folders = folder
class trash_2d_object ( aetools . ComponentItem ) :
2002-08-07 12:53:42 -03:00
""" trash-object - Trash-object is the class of the \xd2 trash \xd3 object """
2000-08-20 16:29:03 -03:00
want = ' ctrs '
class warns_before_emptying ( aetools . NProperty ) :
""" warns before emptying - Display a dialog when emptying the trash? """
which = ' warn '
want = ' bool '
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
2003-03-28 19:38:00 -04:00
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'clpf' as ['indx', 'name']
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'docf' as ['indx', 'name']
2003-03-28 19:38:00 -04:00
# element 'file' as ['indx', 'name']
2000-08-20 16:29:03 -03:00
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
2003-03-28 20:13:17 -04:00
import Finder_items
2002-08-07 12:53:42 -03:00
container . _superclassnames = [ ' item ' ]
2003-03-28 20:13:17 -04:00
import Files
2002-08-07 12:53:42 -03:00
container . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
2003-03-28 19:38:00 -04:00
' completely_expanded ' : completely_expanded ,
2003-03-28 20:13:17 -04:00
' container_window ' : container_window ,
2000-08-20 16:29:03 -03:00
' entire_contents ' : entire_contents ,
' expandable ' : expandable ,
' expanded ' : expanded ,
}
2002-08-07 12:53:42 -03:00
container . _privelemdict = {
2003-03-28 20:13:17 -04:00
' alias_file ' : Files . alias_file ,
' application_file ' : Files . application_file ,
' clipping ' : Files . clipping ,
2003-03-28 19:38:00 -04:00
' container ' : container ,
2003-03-28 20:13:17 -04:00
' document_file ' : Files . document_file ,
' file ' : Files . file ,
2003-03-28 19:38:00 -04:00
' folder ' : folder ,
2003-03-28 20:13:17 -04:00
' internet_location_file ' : Files . internet_location_file ,
' item ' : Finder_items . item ,
' package ' : Files . package ,
2000-08-20 16:29:03 -03:00
}
2003-03-28 18:07:22 -04:00
desktop_2d_object . _superclassnames = [ ' container ' ]
desktop_2d_object . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
}
2003-03-28 18:07:22 -04:00
desktop_2d_object . _privelemdict = {
2003-03-28 20:13:17 -04:00
' alias_file ' : Files . alias_file ,
' application_file ' : Files . application_file ,
' clipping ' : Files . clipping ,
2003-03-28 19:38:00 -04:00
' container ' : container ,
' disk ' : disk ,
2003-03-28 20:13:17 -04:00
' document_file ' : Files . document_file ,
' file ' : Files . file ,
2003-03-28 19:38:00 -04:00
' folder ' : folder ,
2003-03-28 20:13:17 -04:00
' internet_location_file ' : Files . internet_location_file ,
' item ' : Finder_items . item ,
' package ' : Files . package ,
2000-08-20 16:29:03 -03:00
}
2003-03-28 20:13:17 -04:00
disk . _superclassnames = [ ' container ' ]
2002-08-07 12:53:42 -03:00
disk . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
' capacity ' : capacity ,
' ejectable ' : ejectable ,
2003-03-28 20:13:17 -04:00
' format ' : format ,
2003-03-28 19:38:00 -04:00
' free_space ' : free_space ,
2003-03-28 20:13:17 -04:00
' ignore_privileges ' : ignore_privileges ,
2000-08-20 16:29:03 -03:00
' local_volume ' : local_volume ,
' startup ' : startup ,
}
2002-08-07 12:53:42 -03:00
disk . _privelemdict = {
2003-03-28 20:13:17 -04:00
' alias_file ' : Files . alias_file ,
' application_file ' : Files . application_file ,
' clipping ' : Files . clipping ,
2003-03-28 19:38:00 -04:00
' container ' : container ,
2003-03-28 20:13:17 -04:00
' document_file ' : Files . document_file ,
' file ' : Files . file ,
2003-03-28 19:38:00 -04:00
' folder ' : folder ,
2003-03-28 20:13:17 -04:00
' internet_location_file ' : Files . internet_location_file ,
' item ' : Finder_items . item ,
' package ' : Files . package ,
2000-08-20 16:29:03 -03:00
}
2003-03-28 20:13:17 -04:00
folder . _superclassnames = [ ' container ' ]
2002-08-07 12:53:42 -03:00
folder . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
}
2002-08-07 12:53:42 -03:00
folder . _privelemdict = {
2003-03-28 20:13:17 -04:00
' alias_file ' : Files . alias_file ,
' application_file ' : Files . application_file ,
' clipping ' : Files . clipping ,
2003-03-28 19:38:00 -04:00
' container ' : container ,
2003-03-28 20:13:17 -04:00
' document_file ' : Files . document_file ,
' file ' : Files . file ,
2003-03-28 19:38:00 -04:00
' folder ' : folder ,
2003-03-28 20:13:17 -04:00
' internet_location_file ' : Files . internet_location_file ,
' item ' : Finder_items . item ,
' package ' : Files . package ,
2003-03-28 18:07:22 -04:00
}
2002-08-07 12:53:42 -03:00
trash_2d_object . _superclassnames = [ ' container ' ]
trash_2d_object . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
' warns_before_emptying ' : warns_before_emptying ,
}
2002-08-07 12:53:42 -03:00
trash_2d_object . _privelemdict = {
2003-03-28 20:13:17 -04:00
' alias_file ' : Files . alias_file ,
' application_file ' : Files . application_file ,
' clipping ' : Files . clipping ,
2003-03-28 19:38:00 -04:00
' container ' : container ,
2003-03-28 20:13:17 -04:00
' document_file ' : Files . document_file ,
' file ' : Files . file ,
2003-03-28 19:38:00 -04:00
' folder ' : folder ,
2003-03-28 20:13:17 -04:00
' internet_location_file ' : Files . internet_location_file ,
' item ' : Finder_items . item ,
' package ' : Files . package ,
2000-08-20 16:29:03 -03:00
}
#
# Indices of types declared in this module
#
_classdeclarations = {
' cdis ' : disk ,
2003-03-28 19:38:00 -04:00
' cdsk ' : desktop_2d_object ,
2003-03-28 18:07:22 -04:00
' cfol ' : folder ,
2003-03-28 19:38:00 -04:00
' ctnr ' : container ,
' ctrs ' : trash_2d_object ,
2000-08-20 16:29:03 -03:00
}
_propdeclarations = {
2003-03-28 19:38:00 -04:00
' c@#^ ' : _3c_Inheritance_3e_ ,
' capa ' : capacity ,
2003-03-28 20:13:17 -04:00
' cwnd ' : container_window ,
' dfmt ' : format ,
2002-04-23 18:08:54 -03:00
' ects ' : entire_contents ,
2003-03-28 19:38:00 -04:00
' frsp ' : free_space ,
2003-03-28 20:13:17 -04:00
' igpr ' : ignore_privileges ,
2003-03-28 19:38:00 -04:00
' isej ' : ejectable ,
2002-04-23 18:08:54 -03:00
' isrv ' : local_volume ,
2003-03-28 19:38:00 -04:00
' istd ' : startup ,
2000-08-20 16:29:03 -03:00
' pexa ' : expandable ,
2002-04-23 18:08:54 -03:00
' pexc ' : completely_expanded ,
2003-03-28 19:38:00 -04:00
' pexp ' : expanded ,
' warn ' : warns_before_emptying ,
2000-08-20 16:29:03 -03:00
}
_compdeclarations = {
}
_enumdeclarations = {
}