[Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder Containers_and_folders.py,1.3,1.4 Earlier_terms.py,1.3,1.4 Enumerations.py,1.3,1.4 Files_and_suitcases.py,1.3,1.4 Finder_Basics.py,1.2,1.3 Finder_items.py,1.2,1.3 Obsolete_terms.py,1.2,1.3 Process_classes.py,1.3,1.4 Type_Definitions.py,1.3,1.4 Window_classes.py,1.3,1.4 __init__.py,1.3,1.4
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
2003年3月28日 15:38:30 -0800
Update of /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder
In directory sc8-pr-cvs1:/tmp/cvs-serv26251/Finder
Modified Files:
Containers_and_folders.py Earlier_terms.py Enumerations.py
Files_and_suitcases.py Finder_Basics.py Finder_items.py
Obsolete_terms.py Process_classes.py Type_Definitions.py
Window_classes.py __init__.py
Log Message:
Sigh: didn't catch all lists that needed to be sorted. Regenerated again.
Index: Containers_and_folders.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Containers_and_folders.py 28 Mar 2003 22:07:17 -0000 1.3
--- Containers_and_folders.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 23,30 ****
which = 'c@#^'
want = 'cobj'
! class selection(aetools.NProperty):
! """selection - the selection visible to the user """
! which = 'sele'
! want = 'obj '
class entire_contents(aetools.NProperty):
"""entire contents - the entire contents of the container, including the contents of its children """
--- 23,30 ----
which = 'c@#^'
want = 'cobj'
! class completely_expanded(aetools.NProperty):
! """completely expanded - Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """
! which = 'pexc'
! want = 'bool'
class entire_contents(aetools.NProperty):
"""entire contents - the entire contents of the container, including the contents of its children """
***************
*** 39,71 ****
which = 'pexp'
want = 'bool'
- class completely_expanded(aetools.NProperty):
- """completely expanded - Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """
- which = 'pexc'
- want = 'bool'
class icon_size(aetools.NProperty):
! """icon size - the size of icons displayed in the window. Can be specified as a number, or ... """
which = 'lvis'
! want = 'long'
class view_options_window(aetools.NProperty):
"""view options window - the view options window for the container (can only be opened when the container window is open) """
which = 'vwnd'
want = 'vwnd'
- # element 'cobj' as ['indx', 'name']
- # element 'ctnr' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'cfol' as ['indx', 'name', 'ID ']
- # element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'docf' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'dafi' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'clpf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
containers = container
--- 39,71 ----
which = 'pexp'
want = 'bool'
class icon_size(aetools.NProperty):
! """icon size - ... alternatively, you can specify the icons size as a constant """
which = 'lvis'
! want = 'isiz'
! class selection(aetools.NProperty):
! """selection - the selection visible to the user """
! which = 'sele'
! want = 'obj '
class view_options_window(aetools.NProperty):
"""view options window - the view options window for the container (can only be opened when the container window is open) """
which = 'vwnd'
want = 'vwnd'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # element 'cfol' as ['indx', 'name', 'ID ']
+ # element 'clpf' as ['indx', 'name']
+ # element 'cobj' as ['indx', 'name']
+ # element 'ctnr' as ['indx', 'name']
+ # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
+ # element 'dsut' as ['indx', 'name']
+ # element 'file' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
+ # element 'sctr' as ['indx', 'name']
+ # element 'sndf' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
containers = container
***************
*** 82,103 ****
which = 'trsh'
want = 'ctrs'
- # element 'cobj' as ['indx', 'name']
- # element 'ctnr' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'cdis' as ['indx', 'name']
- # element 'cfol' as ['indx', 'name', 'ID ']
- # element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'docf' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'dafi' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'clpf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
class disk(aetools.ComponentItem):
--- 82,103 ----
which = 'trsh'
want = 'ctrs'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # 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']
+ # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
+ # element 'dsut' as ['indx', 'name']
+ # element 'file' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
+ # element 'sctr' as ['indx', 'name']
+ # element 'sndf' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
class disk(aetools.ComponentItem):
***************
*** 108,119 ****
which = 'capa'
want = 'long'
- class free_space(aetools.NProperty):
- """free space - the number of free bytes left on the disk """
- which = 'frsp'
- want = 'long'
class ejectable(aetools.NProperty):
"""ejectable - Can the media be ejected (floppies, CD's, and so on)? """
which = 'isej'
want = 'bool'
class local_volume(aetools.NProperty):
"""local volume - Is the media a local volume (as opposed to a file server)? """
--- 108,119 ----
which = 'capa'
want = 'long'
class ejectable(aetools.NProperty):
"""ejectable - Can the media be ejected (floppies, CD's, and so on)? """
which = 'isej'
want = 'bool'
+ class free_space(aetools.NProperty):
+ """free space - the number of free bytes left on the disk """
+ which = 'frsp'
+ want = 'long'
class local_volume(aetools.NProperty):
"""local volume - Is the media a local volume (as opposed to a file server)? """
***************
*** 124,144 ****
which = 'istd'
want = 'bool'
- # element 'cobj' as ['indx', 'name']
- # element 'ctnr' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'cfol' as ['indx', 'name', 'ID ']
- # element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'docf' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'dafi' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'clpf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
disks = disk
--- 124,144 ----
which = 'istd'
want = 'bool'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # element 'cfol' as ['indx', 'name', 'ID ']
+ # element 'clpf' as ['indx', 'name']
+ # element 'cobj' as ['indx', 'name']
+ # element 'ctnr' as ['indx', 'name']
+ # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
+ # element 'dsut' as ['indx', 'name']
+ # element 'file' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
+ # element 'sctr' as ['indx', 'name']
+ # element 'sndf' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
disks = disk
***************
*** 147,167 ****
"""folder - A folder """
want = 'cfol'
- # element 'cobj' as ['indx', 'name']
- # element 'ctnr' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'cfol' as ['indx', 'name', 'ID ']
- # element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'docf' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'dafi' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'clpf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
folders = folder
--- 147,167 ----
"""folder - A folder """
want = 'cfol'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # element 'cfol' as ['indx', 'name', 'ID ']
+ # element 'clpf' as ['indx', 'name']
+ # element 'cobj' as ['indx', 'name']
+ # element 'ctnr' as ['indx', 'name']
+ # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
+ # element 'dsut' as ['indx', 'name']
+ # element 'file' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
+ # element 'sctr' as ['indx', 'name']
+ # element 'sndf' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
folders = folder
***************
*** 170,185 ****
"""sharable container - A container that may be shared (disks and folders) """
want = 'sctr'
! class owner(aetools.NProperty):
! """owner - the user that owns the container (file sharing must be on to use this property) """
! which = 'sown'
! want = 'itxt'
class group(aetools.NProperty):
"""group - the user or group that has special access to the container (file sharing must be on to use this property) """
which = 'sgrp'
want = 'itxt'
- class owner_privileges(aetools.NProperty):
- """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """
- which = 'ownr'
- want = 'priv'
class group_privileges(aetools.NProperty):
"""group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """
--- 170,181 ----
"""sharable container - A container that may be shared (disks and folders) """
want = 'sctr'
! class exported(aetools.NProperty):
! """exported - Is the container a share point or inside a share point, i.e., can the container be shared? (file sharing must be on to use this property) """
! which = 'sexp'
! want = 'bool'
class group(aetools.NProperty):
"""group - the user or group that has special access to the container (file sharing must be on to use this property) """
which = 'sgrp'
want = 'itxt'
class group_privileges(aetools.NProperty):
"""group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """
***************
*** 190,208 ****
which = 'gstp'
want = 'priv'
- class privileges_inherited(aetools.NProperty):
- """privileges inherited - Are the privileges of the container always the same as the container in which it is stored? (file sharing must be on to use this property) """
- which = 'iprv'
- want = 'bool'
class mounted(aetools.NProperty):
"""mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """
which = 'smou'
want = 'bool'
! class exported(aetools.NProperty):
! """exported - Is the container a share point or inside a share point, i.e., can the container be shared? (file sharing must be on to use this property) """
! which = 'sexp'
! want = 'bool'
! class shared(aetools.NProperty):
! """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """
! which = 'shar'
want = 'bool'
class protected(aetools.NProperty):
--- 186,204 ----
which = 'gstp'
want = 'priv'
class mounted(aetools.NProperty):
"""mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """
which = 'smou'
want = 'bool'
! class owner(aetools.NProperty):
! """owner - the user that owns the container (file sharing must be on to use this property) """
! which = 'sown'
! want = 'itxt'
! class owner_privileges(aetools.NProperty):
! """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """
! which = 'ownr'
! want = 'priv'
! class privileges_inherited(aetools.NProperty):
! """privileges inherited - Are the privileges of the container always the same as the container in which it is stored? (file sharing must be on to use this property) """
! which = 'iprv'
want = 'bool'
class protected(aetools.NProperty):
***************
*** 210,230 ****
which = 'spro'
want = 'bool'
! # element 'cobj' as ['indx', 'name']
! # element 'ctnr' as ['indx', 'name']
! # element 'sctr' as ['indx', 'name']
! # element 'cfol' as ['indx', 'name', 'ID ']
! # element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'docf' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'dafi' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'clpf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
sharable_containers = sharable_container
--- 206,230 ----
which = 'spro'
want = 'bool'
! class shared(aetools.NProperty):
! """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """
! which = 'shar'
! want = 'bool'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # element 'cfol' as ['indx', 'name', 'ID ']
+ # element 'clpf' as ['indx', 'name']
+ # element 'cobj' as ['indx', 'name']
+ # element 'ctnr' as ['indx', 'name']
+ # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
+ # element 'dsut' as ['indx', 'name']
+ # element 'file' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
+ # element 'sctr' as ['indx', 'name']
+ # element 'sndf' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
sharable_containers = sharable_container
***************
*** 233,239 ****
"""sharing privileges - A set of sharing properties (used in sharable containers) """
want = 'priv'
! class see_folders(aetools.NProperty):
! """see folders - Can folders be seen? """
! which = 'prvs'
want = 'bool'
class see_files(aetools.NProperty):
--- 233,239 ----
"""sharing privileges - A set of sharing properties (used in sharable containers) """
want = 'priv'
! class make_changes(aetools.NProperty):
! """make changes - Can changes be made? """
! which = 'prvw'
want = 'bool'
class see_files(aetools.NProperty):
***************
*** 241,247 ****
which = 'prvr'
want = 'bool'
! class make_changes(aetools.NProperty):
! """make changes - Can changes be made? """
! which = 'prvw'
want = 'bool'
--- 241,247 ----
which = 'prvr'
want = 'bool'
! class see_folders(aetools.NProperty):
! """see folders - Can folders be seen? """
! which = 'prvs'
want = 'bool'
***************
*** 253,273 ****
which = 'warn'
want = 'bool'
- # element 'cobj' as ['indx', 'name']
- # element 'ctnr' as ['indx', 'name']
- # element 'sctr' as ['indx', 'name']
- # element 'cfol' as ['indx', 'name', 'ID ']
- # element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'docf' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'dafi' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
- # element 'sndf' as ['indx', 'name']
- # element 'clpf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
import Earlier_terms
container._superclassnames = ['item']
--- 253,273 ----
which = 'warn'
want = 'bool'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # element 'cfol' as ['indx', 'name', 'ID ']
+ # element 'clpf' as ['indx', 'name']
+ # element 'cobj' as ['indx', 'name']
+ # element 'ctnr' as ['indx', 'name']
+ # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
+ # element 'dsut' as ['indx', 'name']
+ # element 'file' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
+ # element 'sctr' as ['indx', 'name']
+ # element 'sndf' as ['indx', 'name']
# element 'stcs' as ['indx', 'name']
import Earlier_terms
container._superclassnames = ['item']
***************
*** 275,305 ****
container._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
! 'selection' : selection,
'entire_contents' : entire_contents,
'expandable' : expandable,
'expanded' : expanded,
- 'completely_expanded' : completely_expanded,
'icon_size' : icon_size,
'icon_size' : icon_size,
'view_options_window' : view_options_window,
}
container._privelemdict = {
! 'item' : Earlier_terms.item,
! 'container' : container,
! 'sharable_container' : sharable_container,
! 'folder' : folder,
! 'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
'document_file' : Files_and_suitcases.document_file,
'font_file' : Files_and_suitcases.font_file,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'internet_location' : Earlier_terms.internet_location,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'clipping' : Files_and_suitcases.clipping,
'package' : Files_and_suitcases.package,
'suitcase' : Files_and_suitcases.suitcase,
- 'font_suitcase' : Files_and_suitcases.font_suitcase,
- 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
desktop_2d_object._superclassnames = ['container']
--- 275,305 ----
container._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
! 'completely_expanded' : completely_expanded,
'entire_contents' : entire_contents,
'expandable' : expandable,
'expanded' : expanded,
'icon_size' : icon_size,
'icon_size' : icon_size,
+ 'selection' : selection,
'view_options_window' : view_options_window,
}
container._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
+ 'clipping' : Files_and_suitcases.clipping,
+ 'container' : container,
+ 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'document_file' : Files_and_suitcases.document_file,
+ 'file' : Files_and_suitcases.file,
+ 'folder' : folder,
'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
'package' : Files_and_suitcases.package,
+ 'sharable_container' : sharable_container,
+ 'sound_file' : Files_and_suitcases.sound_file,
'suitcase' : Files_and_suitcases.suitcase,
}
desktop_2d_object._superclassnames = ['container']
***************
*** 310,331 ****
}
desktop_2d_object._privelemdict = {
! 'item' : Earlier_terms.item,
! 'container' : container,
! 'sharable_container' : sharable_container,
! 'disk' : disk,
! 'folder' : folder,
! 'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
'document_file' : Files_and_suitcases.document_file,
'font_file' : Files_and_suitcases.font_file,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'internet_location' : Earlier_terms.internet_location,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'clipping' : Files_and_suitcases.clipping,
'package' : Files_and_suitcases.package,
'suitcase' : Files_and_suitcases.suitcase,
- 'font_suitcase' : Files_and_suitcases.font_suitcase,
- 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
disk._superclassnames = ['sharable_container']
--- 310,331 ----
}
desktop_2d_object._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
+ 'clipping' : Files_and_suitcases.clipping,
+ 'container' : container,
+ 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
+ 'disk' : disk,
'document_file' : Files_and_suitcases.document_file,
+ 'file' : Files_and_suitcases.file,
+ 'folder' : folder,
'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
'package' : Files_and_suitcases.package,
+ 'sharable_container' : sharable_container,
+ 'sound_file' : Files_and_suitcases.sound_file,
'suitcase' : Files_and_suitcases.suitcase,
}
disk._superclassnames = ['sharable_container']
***************
*** 333,359 ****
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'capacity' : capacity,
- 'free_space' : free_space,
'ejectable' : ejectable,
'local_volume' : local_volume,
'startup' : startup,
}
disk._privelemdict = {
! 'item' : Earlier_terms.item,
! 'container' : container,
! 'sharable_container' : sharable_container,
! 'folder' : folder,
! 'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
'document_file' : Files_and_suitcases.document_file,
'font_file' : Files_and_suitcases.font_file,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'internet_location' : Earlier_terms.internet_location,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'clipping' : Files_and_suitcases.clipping,
'package' : Files_and_suitcases.package,
'suitcase' : Files_and_suitcases.suitcase,
- 'font_suitcase' : Files_and_suitcases.font_suitcase,
- 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
folder._superclassnames = ['sharable_container']
--- 333,359 ----
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'capacity' : capacity,
'ejectable' : ejectable,
+ 'free_space' : free_space,
'local_volume' : local_volume,
'startup' : startup,
}
disk._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
+ 'clipping' : Files_and_suitcases.clipping,
+ 'container' : container,
+ 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'document_file' : Files_and_suitcases.document_file,
+ 'file' : Files_and_suitcases.file,
+ 'folder' : folder,
'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
'package' : Files_and_suitcases.package,
+ 'sharable_container' : sharable_container,
+ 'sound_file' : Files_and_suitcases.sound_file,
'suitcase' : Files_and_suitcases.suitcase,
}
folder._superclassnames = ['sharable_container']
***************
*** 362,421 ****
}
folder._privelemdict = {
! 'item' : Earlier_terms.item,
! 'container' : container,
! 'sharable_container' : sharable_container,
! 'folder' : folder,
! 'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
'document_file' : Files_and_suitcases.document_file,
'font_file' : Files_and_suitcases.font_file,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'internet_location' : Earlier_terms.internet_location,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'clipping' : Files_and_suitcases.clipping,
'package' : Files_and_suitcases.package,
'suitcase' : Files_and_suitcases.suitcase,
- 'font_suitcase' : Files_and_suitcases.font_suitcase,
- 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
sharable_container._superclassnames = ['container']
sharable_container._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
! 'owner' : owner,
'group' : group,
- 'owner_privileges' : owner_privileges,
'group_privileges' : group_privileges,
'guest_privileges' : guest_privileges,
- 'privileges_inherited' : privileges_inherited,
'mounted' : mounted,
! 'exported' : exported,
! 'shared' : shared,
'protected' : protected,
}
sharable_container._privelemdict = {
! 'item' : Earlier_terms.item,
! 'container' : container,
! 'sharable_container' : sharable_container,
! 'folder' : folder,
! 'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
'document_file' : Files_and_suitcases.document_file,
'font_file' : Files_and_suitcases.font_file,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'internet_location' : Earlier_terms.internet_location,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'clipping' : Files_and_suitcases.clipping,
'package' : Files_and_suitcases.package,
'suitcase' : Files_and_suitcases.suitcase,
- 'font_suitcase' : Files_and_suitcases.font_suitcase,
- 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
sharing_privileges._superclassnames = []
sharing_privileges._privpropdict = {
- 'see_folders' : see_folders,
- 'see_files' : see_files,
'make_changes' : make_changes,
}
sharing_privileges._privelemdict = {
--- 362,421 ----
}
folder._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
+ 'clipping' : Files_and_suitcases.clipping,
+ 'container' : container,
+ 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'document_file' : Files_and_suitcases.document_file,
+ 'file' : Files_and_suitcases.file,
+ 'folder' : folder,
'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
'package' : Files_and_suitcases.package,
+ 'sharable_container' : sharable_container,
+ 'sound_file' : Files_and_suitcases.sound_file,
'suitcase' : Files_and_suitcases.suitcase,
}
sharable_container._superclassnames = ['container']
sharable_container._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
! 'exported' : exported,
'group' : group,
'group_privileges' : group_privileges,
'guest_privileges' : guest_privileges,
'mounted' : mounted,
! 'owner' : owner,
! 'owner_privileges' : owner_privileges,
! 'privileges_inherited' : privileges_inherited,
'protected' : protected,
+ 'shared' : shared,
}
sharable_container._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
+ 'clipping' : Files_and_suitcases.clipping,
+ 'container' : container,
+ 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'document_file' : Files_and_suitcases.document_file,
+ 'file' : Files_and_suitcases.file,
+ 'folder' : folder,
'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
'package' : Files_and_suitcases.package,
+ 'sharable_container' : sharable_container,
+ 'sound_file' : Files_and_suitcases.sound_file,
'suitcase' : Files_and_suitcases.suitcase,
}
sharing_privileges._superclassnames = []
sharing_privileges._privpropdict = {
'make_changes' : make_changes,
+ 'see_files' : see_files,
+ 'see_folders' : see_folders,
}
sharing_privileges._privelemdict = {
***************
*** 427,447 ****
}
trash_2d_object._privelemdict = {
! 'item' : Earlier_terms.item,
! 'container' : container,
! 'sharable_container' : sharable_container,
! 'folder' : folder,
! 'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
'document_file' : Files_and_suitcases.document_file,
'font_file' : Files_and_suitcases.font_file,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'internet_location' : Earlier_terms.internet_location,
! 'sound_file' : Files_and_suitcases.sound_file,
! 'clipping' : Files_and_suitcases.clipping,
'package' : Files_and_suitcases.package,
'suitcase' : Files_and_suitcases.suitcase,
- 'font_suitcase' : Files_and_suitcases.font_suitcase,
- 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
--- 427,447 ----
}
trash_2d_object._privelemdict = {
! 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
'alias_file' : Files_and_suitcases.alias_file,
'application_file' : Earlier_terms.application_file,
+ 'clipping' : Files_and_suitcases.clipping,
+ 'container' : container,
+ 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
'document_file' : Files_and_suitcases.document_file,
+ 'file' : Files_and_suitcases.file,
+ 'folder' : folder,
'font_file' : Files_and_suitcases.font_file,
! 'font_suitcase' : Files_and_suitcases.font_suitcase,
'internet_location' : Earlier_terms.internet_location,
! 'item' : Earlier_terms.item,
'package' : Files_and_suitcases.package,
+ 'sharable_container' : sharable_container,
+ 'sound_file' : Files_and_suitcases.sound_file,
'suitcase' : Files_and_suitcases.suitcase,
}
***************
*** 450,492 ****
#
_classdeclarations = {
- 'ctrs' : trash_2d_object,
- 'cdsk' : desktop_2d_object,
- 'sctr' : sharable_container,
'cdis' : disk,
! 'ctnr' : container,
'cfol' : folder,
'priv' : sharing_privileges,
}
_propdeclarations = {
! 'pexp' : expanded,
! 'iprv' : privileges_inherited,
! 'gstp' : guest_privileges,
'ects' : entire_contents,
! 'lvis' : icon_size,
'gppr' : group_privileges,
'isrv' : local_volume,
! 'prvs' : see_folders,
'pexa' : expandable,
'pexc' : completely_expanded,
! 'vwnd' : view_options_window,
! 'warn' : warns_before_emptying,
! 'sown' : owner,
'prvw' : make_changes,
- 'isej' : ejectable,
- 'capa' : capacity,
- 'shar' : shared,
- 'sexp' : exported,
'sdsk' : startup_disk,
- 'istd' : startup,
- 'prvr' : see_files,
- 'c@#^' : _3c_Inheritance_3e_,
- 'smou' : mounted,
'sele' : selection,
! 'trsh' : trash,
'sgrp' : group,
! 'frsp' : free_space,
'spro' : protected,
! 'ownr' : owner_privileges,
}
--- 450,492 ----
#
_classdeclarations = {
'cdis' : disk,
! 'cdsk' : desktop_2d_object,
'cfol' : folder,
+ 'ctnr' : container,
+ 'ctrs' : trash_2d_object,
'priv' : sharing_privileges,
+ 'sctr' : sharable_container,
}
_propdeclarations = {
! 'c@#^' : _3c_Inheritance_3e_,
! 'capa' : capacity,
'ects' : entire_contents,
! 'frsp' : free_space,
'gppr' : group_privileges,
+ 'gstp' : guest_privileges,
+ 'iprv' : privileges_inherited,
+ 'isej' : ejectable,
'isrv' : local_volume,
! 'istd' : startup,
! 'lvis' : icon_size,
! 'ownr' : owner_privileges,
'pexa' : expandable,
'pexc' : completely_expanded,
! 'pexp' : expanded,
! 'prvr' : see_files,
! 'prvs' : see_folders,
'prvw' : make_changes,
'sdsk' : startup_disk,
'sele' : selection,
! 'sexp' : exported,
'sgrp' : group,
! 'shar' : shared,
! 'smou' : mounted,
! 'sown' : owner,
'spro' : protected,
! 'trsh' : trash,
! 'vwnd' : view_options_window,
! 'warn' : warns_before_emptying,
}
Index: Earlier_terms.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Earlier_terms.py 28 Mar 2003 22:07:17 -0000 1.3
--- Earlier_terms.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 32,43 ****
"""application - The Finder """
want = 'capp'
! class properties(aetools.NProperty):
! """properties - property that allows getting and setting of multiple properties """
! which = 'qpro'
! want = 'reco'
class clipboard(aetools.NProperty):
"""clipboard - the Finder\xd5s clipboard window """
which = 'pcli'
want = 'obj '
[...1074 lines suppressed...]
! 'slbl' : show_label,
! 'smou' : mounted,
! 'sord' : sort_direction,
! 'sown' : owner,
'sprg' : spring_open_folders,
+ 'spro' : protected,
+ 'sprt' : suggested_partition_size,
'ssiz' : show_size,
'svew' : previous_list_view,
! 'svrs' : show_version,
! 'urdt' : use_relative_dates,
'usme' : use_simple_menus,
! 'uswg' : use_wide_grid,
! 'ver2' : product_version,
! 'vers' : version,
'warn' : warn_before_emptying,
! 'wshd' : collapsed,
! 'zumf' : zoomed_full_size,
}
Index: Enumerations.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Enumerations.py 28 Mar 2003 22:07:17 -0000 1.3
--- Enumerations.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 107,117 ****
_enumdeclarations = {
'ipnl' : _Enum_ipnl,
! 'sodr' : _Enum_sodr,
'pple' : _Enum_pple,
! 'ese0' : _Enum_ese0,
'vwby' : _Enum_vwby,
- 'isiz' : _Enum_isiz,
- 'earr' : _Enum_earr,
- 'gsen' : _Enum_gsen,
}
--- 107,117 ----
_enumdeclarations = {
+ 'earr' : _Enum_earr,
+ 'ese0' : _Enum_ese0,
+ 'gsen' : _Enum_gsen,
'ipnl' : _Enum_ipnl,
! 'isiz' : _Enum_isiz,
'pple' : _Enum_pple,
! 'sodr' : _Enum_sodr,
'vwby' : _Enum_vwby,
}
Index: Files_and_suitcases.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Files_and_suitcases.py 28 Mar 2003 22:07:17 -0000 1.3
--- Files_and_suitcases.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 33,48 ****
"""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? """
--- 33,36 ----
***************
*** 53,56 ****
--- 41,56 ----
which = 'hscr'
want = 'bool'
+ 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 suggested_size(aetools.NProperty):
+ """suggested size - the memory size with which the developer recommends the application be launched """
+ which = 'sprt'
+ want = 'long'
application_files = application_file
***************
*** 84,107 ****
"""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) """
--- 84,107 ----
"""file - A file """
want = 'file'
class creator_type(aetools.NProperty):
"""creator type - the OSType identifying the application that created the item """
which = 'fcrt'
want = 'type'
+ class file_type(aetools.NProperty):
+ """file type - the OSType identifying the type of data contained in the item """
+ which = 'asty'
+ want = 'type'
class locked(aetools.NProperty):
"""locked - Is the file locked? """
which = 'aslk'
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 stationery(aetools.NProperty):
+ """stationery - Is the file a stationery pad? """
+ which = 'pspd'
+ want = 'bool'
class version(aetools.NProperty):
"""version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
***************
*** 166,174 ****
application_file._privpropdict = {
'_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,
}
application_file._privelemdict = {
--- 166,174 ----
application_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'accepts_high_level_events' : accepts_high_level_events,
'has_scripting_terminology' : has_scripting_terminology,
+ 'minimum_size' : minimum_size,
+ 'preferred_size' : preferred_size,
+ 'suggested_size' : suggested_size,
}
application_file._privelemdict = {
***************
*** 203,211 ****
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,
}
--- 203,211 ----
file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'creator_type' : creator_type,
+ 'file_type' : file_type,
'locked' : locked,
'product_version' : product_version,
+ 'stationery' : stationery,
'version' : version,
}
***************
*** 257,291 ****
#
_classdeclarations = {
- 'sndf' : sound_file,
- 'fntf' : font_file,
- 'stcs' : suitcase,
- 'clpf' : clipping,
- 'dsut' : desk_accessory_suitcase,
'alia' : alias_file,
'dafi' : desk_accessory_file,
! 'fsut' : font_suitcase,
'file' : file,
! 'appf' : application_file,
'inlf' : internet_location_file,
- 'docf' : document_file,
'pack' : package,
}
_propdeclarations = {
- 'ver2' : product_version,
- 'vers' : version,
'appt' : preferred_size,
! 'snd ' : sound,
! 'pspd' : stationery,
! 'sprt' : suggested_size,
! 'isab' : accepts_high_level_events,
! 'hscr' : has_scripting_terminology,
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
'fcrt' : creator_type,
! 'mprt' : minimum_size,
'iloc' : location,
! 'aslk' : locked,
'orig' : original_item,
}
--- 257,291 ----
#
_classdeclarations = {
'alia' : alias_file,
+ 'appf' : application_file,
+ 'clpf' : clipping,
'dafi' : desk_accessory_file,
! 'docf' : document_file,
! 'dsut' : desk_accessory_suitcase,
'file' : file,
! 'fntf' : font_file,
! 'fsut' : font_suitcase,
'inlf' : internet_location_file,
'pack' : package,
+ 'sndf' : sound_file,
+ 'stcs' : suitcase,
}
_propdeclarations = {
'appt' : preferred_size,
! 'aslk' : locked,
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
'fcrt' : creator_type,
! 'hscr' : has_scripting_terminology,
'iloc' : location,
! 'isab' : accepts_high_level_events,
! 'mprt' : minimum_size,
'orig' : original_item,
+ 'pspd' : stationery,
+ 'snd ' : sound,
+ 'sprt' : suggested_size,
+ 'ver2' : product_version,
+ 'vers' : version,
}
Index: Finder_Basics.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Finder_Basics.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Finder_Basics.py 23 Mar 2003 22:07:27 -0000 1.2
--- Finder_Basics.py 28 Mar 2003 23:37:56 -0000 1.3
***************
*** 145,152 ****
--- 145,180 ----
"""application - The Finder """
want = 'capp'
+ class Finder_preferences(aetools.NProperty):
+ """Finder preferences - Various preferences that apply to the Finder as a whole """
+ which = 'pfrp'
+ want = 'cprf'
+ class about_this_computer(aetools.NProperty):
+ """about this computer - the \xd2About this Computer\xd3 dialog and the list of running processes displayed in it """
+ which = 'abbx'
+ want = 'obj '
class clipboard(aetools.NProperty):
"""clipboard - the Finder\xd5s clipboard window """
which = 'pcli'
want = 'obj '
+ class desktop(aetools.NProperty):
+ """desktop - the desktop """
+ which = 'desk'
+ want = 'cdsk'
+ class execution_state(aetools.NProperty):
+ """execution state - the current execution state of the Finder """
+ which = 'exec'
+ want = 'ese0'
+ class file_sharing(aetools.NProperty):
+ """file sharing - Is file sharing on? """
+ which = 'fshr'
+ want = 'bool'
+ class frontmost(aetools.NProperty):
+ """frontmost - Is the Finder the frontmost process? """
+ which = 'pisf'
+ want = 'bool'
+ class insertion_location(aetools.NProperty):
+ """insertion location - the container in which a new folder would appear if \xd2New Folder\xd3 was selected """
+ which = 'pins'
+ want = 'obj '
class largest_free_block(aetools.NProperty):
"""largest free block - the largest free block of process memory available to launch an application """
***************
*** 157,243 ****
which = 'pnam'
want = 'itxt'
! class visible(aetools.NProperty):
! """visible - Is the Finder\xd5s layer visible? """
! which = 'pvis'
! want = 'bool'
! class frontmost(aetools.NProperty):
! """frontmost - Is the Finder the frontmost process? """
! which = 'pisf'
! want = 'bool'
class selection(aetools.NProperty):
"""selection - the selection visible to the user """
which = 'sele'
want = 'obj '
- class insertion_location(aetools.NProperty):
- """insertion location - the container in which a new folder would appear if \xd2New Folder\xd3 was selected """
- which = 'pins'
- want = 'obj '
- class file_sharing(aetools.NProperty):
- """file sharing - Is file sharing on? """
- which = 'fshr'
- want = 'bool'
class sharing_starting_up(aetools.NProperty):
"""sharing starting up - Is file sharing in the process of starting up? """
which = 'fsup'
want = 'bool'
- class product_version(aetools.NProperty):
- """product version - the version of the System software running on this computer """
- which = 'ver2'
- want = 'itxt'
class version(aetools.NProperty):
"""version - the version of the Finder """
which = 'vers'
want = 'itxt'
! class about_this_computer(aetools.NProperty):
! """about this computer - the \xd2About this Computer\xd3 dialog and the list of running processes displayed in it """
! which = 'abbx'
! want = 'obj '
! class desktop(aetools.NProperty):
! """desktop - the desktop """
! which = 'desk'
! want = 'cdsk'
! class execution_state(aetools.NProperty):
! """execution state - the current execution state of the Finder """
! which = 'exec'
! want = 'ese0'
! class Finder_preferences(aetools.NProperty):
! """Finder preferences - Various preferences that apply to the Finder as a whole """
! which = 'pfrp'
! want = 'cprf'
! # element 'cobj' as ['indx', 'name']
! # element 'ctnr' as ['indx', 'name']
! # element 'sctr' as ['indx', 'name']
! # element 'cdis' as ['indx', 'name', 'ID ']
! # element 'cfol' as ['indx', 'name', 'ID ']
! # element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
# element 'docf' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'dafi' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
! # element 'sndf' as ['indx', 'name']
! # element 'clpf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
- # element 'stcs' as ['indx', 'name']
- # element 'fsut' as ['indx', 'name']
- # element 'dsut' as ['indx', 'name']
- # element 'prcs' as ['indx', 'name']
# element 'pcap' as ['indx', 'name']
# element 'pcda' as ['indx', 'name']
! # element 'cwin' as ['indx', 'name']
! # element 'cwnd' as ['indx', 'name']
! # element 'iwnd' as ['indx', 'name']
# element 'vwnd' as ['indx', 'name']
- # element 'lwnd' as ['indx', 'name']
- # element 'dwnd' as ['indx', 'name']
class special_folders(aetools.ComponentItem):
"""special folders - The special folders used by the Mac OS """
want = 'spfl'
- class system_folder(aetools.NProperty):
- """system folder - the System folder """
- which = 'macs'
- want = 'obj '
class apple_menu_items_folder(aetools.NProperty):
"""apple menu items folder - the special folder named \xd2Apple Menu Items,\xd3 the contents of which appear in the Apple menu """
--- 185,239 ----
which = 'pnam'
want = 'itxt'
! class product_version(aetools.NProperty):
! """product version - the version of the System software running on this computer """
! which = 'ver2'
! want = 'itxt'
class selection(aetools.NProperty):
"""selection - the selection visible to the user """
which = 'sele'
want = 'obj '
class sharing_starting_up(aetools.NProperty):
"""sharing starting up - Is file sharing in the process of starting up? """
which = 'fsup'
want = 'bool'
class version(aetools.NProperty):
"""version - the version of the Finder """
which = 'vers'
want = 'itxt'
! class visible(aetools.NProperty):
! """visible - Is the Finder\xd5s layer visible? """
! which = 'pvis'
! want = 'bool'
# element 'alia' as ['indx', 'name']
# element 'appf' as ['indx', 'name', 'ID ']
+ # element 'cdis' as ['indx', 'name', 'ID ']
+ # element 'cfol' as ['indx', 'name', 'ID ']
+ # element 'clpf' as ['indx', 'name']
+ # element 'cobj' as ['indx', 'name']
+ # element 'ctnr' as ['indx', 'name']
+ # element 'cwin' as ['indx', 'name']
+ # element 'cwnd' as ['indx', 'name']
+ # element 'dafi' as ['indx', 'name']
# element 'docf' as ['indx', 'name']
+ # element 'dsut' as ['indx', 'name']
+ # element 'dwnd' as ['indx', 'name']
+ # element 'file' as ['indx', 'name']
# element 'fntf' as ['indx', 'name']
! # element 'fsut' as ['indx', 'name']
# element 'inlf' as ['indx', 'name']
! # element 'iwnd' as ['indx', 'name']
! # element 'lwnd' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
# element 'pcap' as ['indx', 'name']
# element 'pcda' as ['indx', 'name']
! # element 'prcs' as ['indx', 'name']
! # element 'sctr' as ['indx', 'name']
! # element 'sndf' as ['indx', 'name']
! # element 'stcs' as ['indx', 'name']
# element 'vwnd' as ['indx', 'name']
class special_folders(aetools.ComponentItem):
"""special folders - The special folders used by the Mac OS """
want = 'spfl'
class apple_menu_items_folder(aetools.NProperty):
"""apple menu items folder - the special folder named \xd2Apple Menu Items,\xd3 the contents of which appear in the Apple menu """
***************
*** 268,271 ****
--- 264,271 ----
which = 'strt'
want = 'obj '
+ class system_folder(aetools.NProperty):
+ """system folder - the System folder """
+ which = 'macs'
+ want = 'obj '
class temporary_items_folder(aetools.NProperty):
"""temporary items folder - the special folder named \xd2Temporary Items\xd3 (invisible) """
***************
*** 273,330 ****
want = 'obj '
application._superclassnames = []
- import Earlier_terms
- import Containers_and_folders
import Files_and_suitcases
! import Process_classes
import Window_classes
application._privpropdict = {
'clipboard' : clipboard,
'largest_free_block' : largest_free_block,
'name' : name,
! 'visible' : visible,
! 'frontmost' : frontmost,
'selection' : selection,
- 'insertion_location' : insertion_location,
- 'file_sharing' : file_sharing,
'sharing_starting_up' : sharing_starting_up,
- 'product_version' : product_version,
'version' : version,
! 'about_this_computer' : about_this_computer,
! 'desktop' : desktop,
! 'execution_state' : execution_state,
! 'Finder_preferences' : Finder_preferences,
}
application._privelemdict = {
! 'item' : Earlier_terms.item,
'container' : Containers_and_folders.container,
! 'sharable_container' : Earlier_terms.sharable_container,
'disk' : Containers_and_folders.disk,
- 'folder' : Containers_and_folders.folder,
- 'file' : Files_and_suitcases.file,
- 'alias_file' : Files_and_suitcases.alias_file,
- 'application_file' : Earlier_terms.application_file,
'document_file' : Files_and_suitcases.document_file,
'font_file' : Files_and_suitcases.font_file,
- 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
- 'internet_location' : Earlier_terms.internet_location,
- 'sound_file' : Files_and_suitcases.sound_file,
- 'clipping' : Files_and_suitcases.clipping,
- 'package' : Files_and_suitcases.package,
- 'suitcase' : Files_and_suitcases.suitcase,
'font_suitcase' : Files_and_suitcases.font_suitcase,
- 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
- 'process' : Earlier_terms.process,
- 'application_process' : Process_classes.application_process,
- 'accessory_process' : Earlier_terms.accessory_process,
- 'window' : Earlier_terms.window,
- 'container_window' : Earlier_terms.container_window,
'information_window' : Earlier_terms.information_window,
'view_options_window' : Window_classes.view_options_window,
! 'clipping_window' : Window_classes.clipping_window,
! 'content_space' : Window_classes.content_space,
}
special_folders._superclassnames = []
special_folders._privpropdict = {
- 'system_folder' : system_folder,
'apple_menu_items_folder' : apple_menu_items_folder,
'control_panels_folder' : control_panels_folder,
--- 273,329 ----
want = 'obj '
application._superclassnames = []
import Files_and_suitcases
! import Containers_and_folders
! import Earlier_terms
import Window_classes
+ import Process_classes
application._privpropdict = {
+ 'Finder_preferences' : Finder_preferences,
+ 'about_this_computer' : about_this_computer,
'clipboard' : clipboard,
+ 'desktop' : desktop,
+ 'execution_state' : execution_state,
+ 'file_sharing' : file_sharing,
+ 'frontmost' : frontmost,
+ 'insertion_location' : insertion_location,
'largest_free_block' : largest_free_block,
'name' : name,
! 'product_version' : product_version,
'selection' : selection,
'sharing_starting_up' : sharing_starting_up,
'version' : version,
! 'visible' : visible,
}
application._privelemdict = {
! 'accessory_process' : Earlier_terms.accessory_process,
! 'alias_file' : Files_and_suitcases.alias_file,
! 'application_file' : Files_and_suitcases.application_file,
! 'application_process' : Process_classes.application_process,
! 'clipping' : Files_and_suitcases.clipping,
! 'clipping_window' : Window_classes.clipping_window,
'container' : Containers_and_folders.container,
! 'container_window' : Earlier_terms.container_window,
! 'content_space' : Window_classes.content_space,
! 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
! 'desk_accessory_suitcase' : Files_and_suitcases.desk_accessory_suitcase,
'disk' : Containers_and_folders.disk,
'document_file' : Files_and_suitcases.document_file,
+ 'file' : Files_and_suitcases.file,
+ 'folder' : Containers_and_folders.folder,
'font_file' : Files_and_suitcases.font_file,
'font_suitcase' : Files_and_suitcases.font_suitcase,
'information_window' : Earlier_terms.information_window,
+ 'internet_location_file' : Files_and_suitcases.internet_location_file,
+ 'item' : Earlier_terms.item,
+ 'package' : Files_and_suitcases.package,
+ 'process' : Earlier_terms.process,
+ 'sharable_container' : Containers_and_folders.sharable_container,
+ 'sound_file' : Files_and_suitcases.sound_file,
+ 'suitcase' : Files_and_suitcases.suitcase,
'view_options_window' : Window_classes.view_options_window,
! 'window' : Earlier_terms.window,
}
special_folders._superclassnames = []
special_folders._privpropdict = {
'apple_menu_items_folder' : apple_menu_items_folder,
'control_panels_folder' : control_panels_folder,
***************
*** 334,337 ****
--- 333,337 ----
'shutdown_items_folder' : shutdown_items_folder,
'startup_items_folder' : startup_items_folder,
+ 'system_folder' : system_folder,
'temporary_items_folder' : temporary_items_folder,
}
***************
*** 348,375 ****
_propdeclarations = {
! 'vers' : version,
! 'ver2' : product_version,
! 'pfrp' : Finder_preferences,
'exec' : execution_state,
! 'pins' : insertion_location,
! 'mfre' : largest_free_block,
'fsup' : sharing_starting_up,
- 'desk' : desktop,
- 'ctrl' : control_panels_folder,
'macs' : system_folder,
! 'font' : fonts_folder,
! 'abbx' : about_this_computer,
! 'shdf' : shutdown_items_folder,
! 'temp' : temporary_items_folder,
! 'pvis' : visible,
! 'sele' : selection,
'pisf' : frontmost,
'pref' : preferences_folder,
'strt' : startup_items_folder,
! 'pcli' : clipboard,
! 'fshr' : file_sharing,
! 'pnam' : name,
! 'extn' : extensions_folder,
! 'amnu' : apple_menu_items_folder,
}
--- 348,375 ----
_propdeclarations = {
! 'abbx' : about_this_computer,
! 'amnu' : apple_menu_items_folder,
! 'ctrl' : control_panels_folder,
! 'desk' : desktop,
'exec' : execution_state,
! 'extn' : extensions_folder,
! 'font' : fonts_folder,
! 'fshr' : file_sharing,
'fsup' : sharing_starting_up,
'macs' : system_folder,
! 'mfre' : largest_free_block,
! 'pcli' : clipboard,
! 'pfrp' : Finder_preferences,
! 'pins' : insertion_location,
'pisf' : frontmost,
+ 'pnam' : name,
'pref' : preferences_folder,
+ 'pvis' : visible,
+ 'sele' : selection,
+ 'shdf' : shutdown_items_folder,
'strt' : startup_items_folder,
! 'temp' : temporary_items_folder,
! 'ver2' : product_version,
! 'vers' : version,
}
Index: Finder_items.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Finder_items.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Finder_items.py 23 Mar 2003 22:07:27 -0000 1.2
--- Finder_items.py 28 Mar 2003 23:37:56 -0000 1.3
***************
*** 189,208 ****
"""item - An item """
want = 'cobj'
! class name(aetools.NProperty):
! """name - the name of the item """
! which = 'pnam'
want = 'itxt'
- class index(aetools.NProperty):
- """index - the index in the front-to-back ordering within its container """
- which = 'pidx'
- want = 'long'
- class id(aetools.NProperty):
- """id - an id that identifies the item """
- which = 'ID '
- want = 'long'
class container(aetools.NProperty):
"""container - the container of the item """
which = 'ctnr'
want = 'obj '
class disk(aetools.NProperty):
"""disk - the disk on which the item is stored """
--- 189,216 ----
"""item - An item """
want = 'cobj'
! class bounds(aetools.NProperty):
! """bounds - the bounding rectangle of the item (can only be set for an item in a window viewed as icons or buttons) """
! which = 'pbnd'
! want = 'qdrt'
! class comment(aetools.NProperty):
! """comment - the comment of the item, displayed in the \xd2Get Info\xd3 window """
! which = 'comt'
want = 'itxt'
class container(aetools.NProperty):
"""container - the container of the item """
which = 'ctnr'
want = 'obj '
+ class content_space(aetools.NProperty):
+ """content space - the window that would open if the item was opened """
+ which = 'dwnd'
+ want = 'obj '
+ class creation_date(aetools.NProperty):
+ """creation date - the date on which the item was created """
+ which = 'ascd'
+ want = 'ldt '
+ class description(aetools.NProperty):
+ """description - a description of the item """
+ which = 'dscr'
+ want = 'itxt'
class disk(aetools.NProperty):
"""disk - the disk on which the item is stored """
***************
*** 213,301 ****
which = 'asdr'
want = 'obj '
! class position(aetools.NProperty):
! """position - the position of the item within its parent window (can only be set for an item in a window viewed as icons or buttons) """
! which = 'posn'
! want = 'QDpt'
! class bounds(aetools.NProperty):
! """bounds - the bounding rectangle of the item (can only be set for an item in a window viewed as icons or buttons) """
! which = 'pbnd'
! want = 'qdrt'
! class label_index(aetools.NProperty):
! """label index - the label of the item """
! which = 'labi'
want = 'long'
class kind(aetools.NProperty):
"""kind - the kind of the item """
which = 'kind'
want = 'itxt'
! class description(aetools.NProperty):
! """description - a description of the item """
! which = 'dscr'
! want = 'itxt'
! class comment(aetools.NProperty):
! """comment - the comment of the item, displayed in the \xd2Get Info\xd3 window """
! which = 'comt'
! want = 'itxt'
! class size(aetools.NProperty):
! """size - the logical size of the item """
! which = 'ptsz'
! want = 'long'
! class physical_size(aetools.NProperty):
! """physical size - the actual space used by the item on disk """
! which = 'phys'
want = 'long'
- class creation_date(aetools.NProperty):
- """creation date - the date on which the item was created """
- which = 'ascd'
- want = 'ldt '
class modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
which = 'asmo'
want = 'ldt '
! class icon(aetools.NProperty):
! """icon - the icon bitmap of the item """
! which = 'iimg'
! want = 'ifam'
class selected(aetools.NProperty):
"""selected - Is the item selected? """
which = 'issl'
want = 'bool'
! class content_space(aetools.NProperty):
! """content space - the window that would open if the item was opened """
! which = 'dwnd'
! want = 'obj '
class window(aetools.NProperty):
"""window - the window that would open if the item was opened """
which = 'cwin'
want = 'obj '
- class information_window(aetools.NProperty):
- """information window - the information window for the item """
- which = 'iwnd'
- want = 'obj '
items = item
item._superclassnames = []
item._privpropdict = {
! 'name' : name,
! 'index' : index,
! 'id' : id,
'container' : container,
'disk' : disk,
'folder' : folder,
! 'position' : position,
! 'bounds' : bounds,
! 'label_index' : label_index,
'kind' : kind,
! 'description' : description,
! 'comment' : comment,
! 'size' : size,
! 'physical_size' : physical_size,
! 'creation_date' : creation_date,
'modification_date' : modification_date,
! 'icon' : icon,
'selected' : selected,
! 'content_space' : content_space,
'window' : window,
- 'information_window' : information_window,
}
item._privelemdict = {
--- 221,301 ----
which = 'asdr'
want = 'obj '
! class icon(aetools.NProperty):
! """icon - the icon bitmap of the item """
! which = 'iimg'
! want = 'ifam'
! class id(aetools.NProperty):
! """id - an id that identifies the item """
! which = 'ID '
want = 'long'
+ class index(aetools.NProperty):
+ """index - the index in the front-to-back ordering within its container """
+ which = 'pidx'
+ want = 'long'
+ class information_window(aetools.NProperty):
+ """information window - the information window for the item """
+ which = 'iwnd'
+ want = 'obj '
class kind(aetools.NProperty):
"""kind - the kind of the item """
which = 'kind'
want = 'itxt'
! class label_index(aetools.NProperty):
! """label index - the label of the item """
! which = 'labi'
want = 'long'
class modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
which = 'asmo'
want = 'ldt '
! class name(aetools.NProperty):
! """name - the name of the item """
! which = 'pnam'
! want = 'itxt'
! class physical_size(aetools.NProperty):
! """physical size - the actual space used by the item on disk """
! which = 'phys'
! want = 'long'
! class position(aetools.NProperty):
! """position - the position of the item within its parent window (can only be set for an item in a window viewed as icons or buttons) """
! which = 'posn'
! want = 'QDpt'
class selected(aetools.NProperty):
"""selected - Is the item selected? """
which = 'issl'
want = 'bool'
! class size(aetools.NProperty):
! """size - the logical size of the item """
! which = 'ptsz'
! want = 'long'
class window(aetools.NProperty):
"""window - the window that would open if the item was opened """
which = 'cwin'
want = 'obj '
items = item
item._superclassnames = []
item._privpropdict = {
! 'bounds' : bounds,
! 'comment' : comment,
'container' : container,
+ 'content_space' : content_space,
+ 'creation_date' : creation_date,
+ 'description' : description,
'disk' : disk,
'folder' : folder,
! 'icon' : icon,
! 'id' : id,
! 'index' : index,
! 'information_window' : information_window,
'kind' : kind,
! 'label_index' : label_index,
'modification_date' : modification_date,
! 'name' : name,
! 'physical_size' : physical_size,
! 'position' : position,
'selected' : selected,
! 'size' : size,
'window' : window,
}
item._privelemdict = {
***************
*** 311,335 ****
_propdeclarations = {
! 'posn' : position,
! 'kind' : kind,
! 'ptsz' : size,
! 'phys' : physical_size,
'dwnd' : content_space,
! 'pbnd' : bounds,
'issl' : selected,
'labi' : label_index,
! 'dscr' : description,
! 'comt' : comment,
! 'ctnr' : container,
'pidx' : index,
- 'iimg' : icon,
- 'ID ' : id,
- 'cwin' : window,
'pnam' : name,
! 'ascd' : creation_date,
! 'cdis' : disk,
! 'asmo' : modification_date,
! 'asdr' : folder,
! 'iwnd' : information_window,
}
--- 311,335 ----
_propdeclarations = {
! 'ID ' : id,
! 'ascd' : creation_date,
! 'asdr' : folder,
! 'asmo' : modification_date,
! 'cdis' : disk,
! 'comt' : comment,
! 'ctnr' : container,
! 'cwin' : window,
! 'dscr' : description,
'dwnd' : content_space,
! 'iimg' : icon,
'issl' : selected,
+ 'iwnd' : information_window,
+ 'kind' : kind,
'labi' : label_index,
! 'pbnd' : bounds,
! 'phys' : physical_size,
'pidx' : index,
'pnam' : name,
! 'posn' : position,
! 'ptsz' : size,
}
Index: Obsolete_terms.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Obsolete_terms.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Obsolete_terms.py 23 Mar 2003 22:07:27 -0000 1.2
--- Obsolete_terms.py 28 Mar 2003 23:37:56 -0000 1.3
***************
*** 90,96 ****
"""sharing window - A sharing window (opened by \xd2Sharing\xc9\xd3) """
want = 'swnd'
! class sharable_container(aetools.NProperty):
! """sharable container - the sharable container from which the window was opened """
! which = 'sctr'
want = 'obj '
class item(aetools.NProperty):
--- 90,96 ----
"""sharing window - A sharing window (opened by \xd2Sharing\xc9\xd3) """
want = 'swnd'
! class container(aetools.NProperty):
! """container - the container from which this window was opened """
! which = 'ctnr'
want = 'obj '
class item(aetools.NProperty):
***************
*** 98,104 ****
which = 'cobj'
want = 'obj '
! class container(aetools.NProperty):
! """container - the container from which this window was opened """
! which = 'ctnr'
want = 'obj '
--- 98,104 ----
which = 'cobj'
want = 'obj '
! class sharable_container(aetools.NProperty):
! """sharable container - the sharable container from which the window was opened """
! which = 'sctr'
want = 'obj '
***************
*** 170,177 ****
sharing_window._superclassnames = []
sharing_window._privpropdict = {
- 'sharable_container' : sharable_container,
- 'item' : item,
'container' : container,
'folder_obsolete' : folder_obsolete,
}
sharing_window._privelemdict = {
--- 170,177 ----
sharing_window._superclassnames = []
sharing_window._privpropdict = {
'container' : container,
'folder_obsolete' : folder_obsolete,
+ 'item' : item,
+ 'sharable_container' : sharable_container,
}
sharing_window._privelemdict = {
***************
*** 187,215 ****
#
_classdeclarations = {
- 'qwnd' : status_window,
'capp' : application,
- 'swnd' : sharing_window,
'ccdv' : control_panel,
- 'prcs' : process,
'cobj' : item,
- 'file' : file,
- 'sctr' : sharable_container,
- 'cwnd' : container_window,
'ctnr' : container,
'iwnd' : information_window,
}
_propdeclarations = {
- 'fitp' : file_type_obsolete,
- 'swnd' : sharing_window,
'cfol' : folder_obsolete,
'crtd' : creation_date_obsolete,
'islk' : locked_obsolete,
'modd' : modification_date_obsolete,
- 'sctr' : sharable_container,
'pvwp' : view_preferences,
! 'cwnd' : container_window,
! 'ctnr' : container,
! 'cobj' : item,
}
--- 187,215 ----
#
_classdeclarations = {
'capp' : application,
'ccdv' : control_panel,
'cobj' : item,
'ctnr' : container,
+ 'cwnd' : container_window,
+ 'file' : file,
'iwnd' : information_window,
+ 'prcs' : process,
+ 'qwnd' : status_window,
+ 'sctr' : sharable_container,
+ 'swnd' : sharing_window,
}
_propdeclarations = {
'cfol' : folder_obsolete,
+ 'cobj' : item,
'crtd' : creation_date_obsolete,
+ 'ctnr' : container,
+ 'cwnd' : container_window,
+ 'fitp' : file_type_obsolete,
'islk' : locked_obsolete,
'modd' : modification_date_obsolete,
'pvwp' : view_preferences,
! 'sctr' : sharable_container,
! 'swnd' : sharing_window,
}
Index: Process_classes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Process_classes.py 28 Mar 2003 22:07:18 -0000 1.3
--- Process_classes.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 43,58 ****
"""process - A process running on this computer """
want = 'prcs'
! class name(aetools.NProperty):
! """name - the name of the process """
! which = 'pnam'
! want = 'itxt'
! class visible(aetools.NProperty):
! """visible - Is the process' layer visible? """
! which = 'pvis'
want = 'bool'
! class frontmost(aetools.NProperty):
! """frontmost - Is the process the frontmost process? """
! which = 'pisf'
want = 'bool'
class file(aetools.NProperty):
"""file - the file from which the process was launched """
--- 43,58 ----
"""process - A process running on this computer """
want = 'prcs'
! class accepts_high_level_events(aetools.NProperty):
! """accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? """
! which = 'isab'
want = 'bool'
! class accepts_remote_events(aetools.NProperty):
! """accepts remote events - Does the process accept remote events? """
! which = 'revt'
want = 'bool'
+ class creator_type(aetools.NProperty):
+ """creator type - the OSType of the creator of the process (the signature) """
+ which = 'fcrt'
+ want = 'type'
class file(aetools.NProperty):
"""file - the file from which the process was launched """
***************
*** 63,77 ****
which = 'asty'
want = 'type'
! class creator_type(aetools.NProperty):
! """creator type - the OSType of the creator of the process (the signature) """
! which = 'fcrt'
! want = 'type'
! class accepts_high_level_events(aetools.NProperty):
! """accepts high level events - Is the process high-level event aware (accepts open application, open document, print document, and quit)? """
! which = 'isab'
! want = 'bool'
! class accepts_remote_events(aetools.NProperty):
! """accepts remote events - Does the process accept remote events? """
! which = 'revt'
want = 'bool'
class has_scripting_terminology(aetools.NProperty):
--- 63,69 ----
which = 'asty'
want = 'type'
! class frontmost(aetools.NProperty):
! """frontmost - Is the process the frontmost process? """
! which = 'pisf'
want = 'bool'
class has_scripting_terminology(aetools.NProperty):
***************
*** 79,90 ****
which = 'hscr'
want = 'bool'
! class total_partition_size(aetools.NProperty):
! """total partition size - the size of the partition with which the process was launched """
! which = 'appt'
! want = 'long'
class partition_space_used(aetools.NProperty):
"""partition space used - the number of bytes currently used in the process' partition """
which = 'pusd'
want = 'long'
processes = process
--- 71,90 ----
which = 'hscr'
want = 'bool'
! class name(aetools.NProperty):
! """name - the name of the process """
! which = 'pnam'
! want = 'itxt'
class partition_space_used(aetools.NProperty):
"""partition space used - the number of bytes currently used in the process' partition """
which = 'pusd'
want = 'long'
+ class total_partition_size(aetools.NProperty):
+ """total partition size - the size of the partition with which the process was launched """
+ which = 'appt'
+ want = 'long'
+ class visible(aetools.NProperty):
+ """visible - Is the process' layer visible? """
+ which = 'pvis'
+ want = 'bool'
processes = process
***************
*** 105,119 ****
process._superclassnames = []
process._privpropdict = {
- 'name' : name,
- 'visible' : visible,
- 'frontmost' : frontmost,
- 'file' : file,
- 'file_type' : file_type,
- 'creator_type' : creator_type,
'accepts_high_level_events' : accepts_high_level_events,
'accepts_remote_events' : accepts_remote_events,
'has_scripting_terminology' : has_scripting_terminology,
! 'total_partition_size' : total_partition_size,
'partition_space_used' : partition_space_used,
}
process._privelemdict = {
--- 105,119 ----
process._superclassnames = []
process._privpropdict = {
'accepts_high_level_events' : accepts_high_level_events,
'accepts_remote_events' : accepts_remote_events,
+ 'creator_type' : creator_type,
+ 'file' : file,
+ 'file_type' : file_type,
+ 'frontmost' : frontmost,
'has_scripting_terminology' : has_scripting_terminology,
! 'name' : name,
'partition_space_used' : partition_space_used,
+ 'total_partition_size' : total_partition_size,
+ 'visible' : visible,
}
process._privelemdict = {
***************
*** 124,146 ****
#
_classdeclarations = {
- 'prcs' : process,
- 'pcda' : desk_accessory_process,
'pcap' : application_process,
}
_propdeclarations = {
! 'pvis' : visible,
! 'pisf' : frontmost,
'appt' : total_partition_size,
- 'isab' : accepts_high_level_events,
- 'dafi' : desk_accessory_file,
- 'hscr' : has_scripting_terminology,
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
'fcrt' : creator_type,
- 'pusd' : partition_space_used,
'file' : file,
'pnam' : name,
! 'appf' : application_file,
'revt' : accepts_remote_events,
}
--- 124,146 ----
#
_classdeclarations = {
'pcap' : application_process,
+ 'pcda' : desk_accessory_process,
+ 'prcs' : process,
}
_propdeclarations = {
! 'appf' : application_file,
'appt' : total_partition_size,
'asty' : file_type,
'c@#^' : _3c_Inheritance_3e_,
+ 'dafi' : desk_accessory_file,
'fcrt' : creator_type,
'file' : file,
+ 'hscr' : has_scripting_terminology,
+ 'isab' : accepts_high_level_events,
+ 'pisf' : frontmost,
'pnam' : name,
! 'pusd' : partition_space_used,
! 'pvis' : visible,
'revt' : accepts_remote_events,
}
Index: Type_Definitions.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Type_Definitions.py 28 Mar 2003 22:07:18 -0000 1.3
--- Type_Definitions.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 23,88 ****
"""icon family - A family of icons """
want = 'ifam'
- class large_monochrome_icon_and_mask(aetools.NProperty):
- """large monochrome icon and mask - the large black-and-white icon and the mask for large icons """
- which = 'ICN#'
- want = 'ICN#'
- class large_8_bit_mask(aetools.NProperty):
- """large 8 bit mask - the large 8-bit mask for large 32-bit icons """
- which = 'l8mk'
- want = 'l8mk'
class large_32_bit_icon(aetools.NProperty):
"""large 32 bit icon - the large 32-bit color icon """
which = 'il32'
want = 'il32'
- class large_8_bit_icon(aetools.NProperty):
- """large 8 bit icon - the large 8-bit color icon """
- which = 'icl8'
- want = 'icl8'
class large_4_bit_icon(aetools.NProperty):
"""large 4 bit icon - the large 4-bit color icon """
which = 'icl4'
want = 'icl4'
! class small_monochrome_icon_and_mask(aetools.NProperty):
! """small monochrome icon and mask - the small black-and-white icon and the mask for small icons """
! which = 'ics#'
! want = 'ics#'
! class small_8_bit_mask(aetools.NProperty):
! """small 8 bit mask - the small 8-bit mask for small 32-bit icons """
! which = 'ics8'
! want = 's8mk'
class small_32_bit_icon(aetools.NProperty):
"""small 32 bit icon - the small 32-bit color icon """
which = 'is32'
want = 'is32'
-
- small_8_bit_icon = small_8_bit_mask
class small_4_bit_icon(aetools.NProperty):
"""small 4 bit icon - the small 4-bit color icon """
which = 'ics4'
want = 'ics4'
class label(aetools.ComponentItem):
"""label - A Finder label (name and color) """
want = 'clbl'
- class name(aetools.NProperty):
- """name - the name associated with the label """
- which = 'pnam'
- want = 'itxt'
- class index(aetools.NProperty):
- """index - the index in the front-to-back ordering within its container """
- which = 'pidx'
- want = 'long'
class color(aetools.NProperty):
"""color - the color associated with the label """
which = 'colr'
want = 'cRGB'
class preferences(aetools.ComponentItem):
"""preferences - The Finder Preferences """
want = 'cprf'
- class window(aetools.NProperty):
- """window - the window that would open if Finder preferences was opened """
- which = 'cwin'
- want = 'pwnd'
class button_view_arrangement(aetools.NProperty):
"""button view arrangement - the method of arrangement of icons in default Finder button view windows """
--- 23,84 ----
"""icon family - A family of icons """
want = 'ifam'
class large_32_bit_icon(aetools.NProperty):
"""large 32 bit icon - the large 32-bit color icon """
which = 'il32'
want = 'il32'
class large_4_bit_icon(aetools.NProperty):
"""large 4 bit icon - the large 4-bit color icon """
which = 'icl4'
want = 'icl4'
! class large_8_bit_icon(aetools.NProperty):
! """large 8 bit icon - the large 8-bit color icon """
! which = 'icl8'
! want = 'icl8'
! class large_8_bit_mask(aetools.NProperty):
! """large 8 bit mask - the large 8-bit mask for large 32-bit icons """
! which = 'l8mk'
! want = 'l8mk'
! class large_monochrome_icon_and_mask(aetools.NProperty):
! """large monochrome icon and mask - the large black-and-white icon and the mask for large icons """
! which = 'ICN#'
! want = 'ICN#'
class small_32_bit_icon(aetools.NProperty):
"""small 32 bit icon - the small 32-bit color icon """
which = 'is32'
want = 'is32'
class small_4_bit_icon(aetools.NProperty):
"""small 4 bit icon - the small 4-bit color icon """
which = 'ics4'
want = 'ics4'
+ class small_8_bit_icon(aetools.NProperty):
+ """small 8 bit icon - the small 8-bit color icon """
+ which = 'ics8'
+ want = 'ics8'
+
+ small_8_bit_mask = small_8_bit_icon
+ class small_monochrome_icon_and_mask(aetools.NProperty):
+ """small monochrome icon and mask - the small black-and-white icon and the mask for small icons """
+ which = 'ics#'
+ want = 'ics#'
class label(aetools.ComponentItem):
"""label - A Finder label (name and color) """
want = 'clbl'
class color(aetools.NProperty):
"""color - the color associated with the label """
which = 'colr'
want = 'cRGB'
+ class index(aetools.NProperty):
+ """index - the index in the front-to-back ordering within its container """
+ which = 'pidx'
+ want = 'long'
+ class name(aetools.NProperty):
+ """name - the name associated with the label """
+ which = 'pnam'
+ want = 'itxt'
class preferences(aetools.ComponentItem):
"""preferences - The Finder Preferences """
want = 'cprf'
class button_view_arrangement(aetools.NProperty):
"""button view arrangement - the method of arrangement of icons in default Finder button view windows """
***************
*** 93,108 ****
which = 'bisz'
want = 'long'
- class spatial_view_arrangement(aetools.NProperty):
- """spatial view arrangement - the method of arrangement of icons in default Finder spatial view windows """
- which = 'iarr'
- want = 'earr'
- class spatial_view_icon_size(aetools.NProperty):
- """spatial view icon size - the size of icons displayed in Finder spatial view windows. """
- which = 'iisz'
- want = 'long'
class calculates_folder_sizes(aetools.NProperty):
"""calculates folder sizes - Are folder sizes calculated and displayed in Finder list view windows? """
which = 'sfsz'
want = 'bool'
class list_view_icon_size(aetools.NProperty):
"""list view icon size - the size of icons displayed in Finder list view windows. """
--- 89,100 ----
which = 'bisz'
want = 'long'
class calculates_folder_sizes(aetools.NProperty):
"""calculates folder sizes - Are folder sizes calculated and displayed in Finder list view windows? """
which = 'sfsz'
want = 'bool'
+ class delay_before_springing(aetools.NProperty):
+ """delay before springing - the delay before springing open a container in ticks (1/60th of a second) (12 is shortest delay, 60 is longest delay) """
+ which = 'dela'
+ want = 'shor'
class list_view_icon_size(aetools.NProperty):
"""list view icon size - the size of icons displayed in Finder list view windows. """
***************
*** 137,140 ****
--- 129,144 ----
which = 'svrs'
want = 'bool'
+ class spatial_view_arrangement(aetools.NProperty):
+ """spatial view arrangement - the method of arrangement of icons in default Finder spatial view windows """
+ which = 'iarr'
+ want = 'earr'
+ class spatial_view_icon_size(aetools.NProperty):
+ """spatial view icon size - the size of icons displayed in Finder spatial view windows. """
+ which = 'iisz'
+ want = 'long'
+ class spring_open_folders(aetools.NProperty):
+ """spring open folders - Spring open folders after the specified delay? """
+ which = 'sprg'
+ want = 'bool'
class uses_relative_dates(aetools.NProperty):
"""uses relative dates - Are relative dates (e.g., today, yesterday) shown in Finder list view windows? """
***************
*** 149,160 ****
which = 'uswg'
want = 'bool'
- class spring_open_folders(aetools.NProperty):
- """spring open folders - Spring open folders after the specified delay? """
- which = 'sprg'
- want = 'bool'
- class delay_before_springing(aetools.NProperty):
- """delay before springing - the delay before springing open a container in ticks (1/60th of a second) (12 is shortest delay, 60 is longest delay) """
- which = 'dela'
- want = 'shor'
class view_font(aetools.NProperty):
"""view font - the id of the font used in Finder views. """
--- 153,156 ----
***************
*** 165,168 ****
--- 161,168 ----
which = 'vfsz'
want = 'long'
+ class window(aetools.NProperty):
+ """window - the window that would open if Finder preferences was opened """
+ which = 'cwin'
+ want = 'pwnd'
# element 'clbl' as ['indx', 'name']
alias_list._superclassnames = []
***************
*** 173,186 ****
icon_family._superclassnames = []
icon_family._privpropdict = {
- 'large_monochrome_icon_and_mask' : large_monochrome_icon_and_mask,
- 'large_8_bit_mask' : large_8_bit_mask,
'large_32_bit_icon' : large_32_bit_icon,
- 'large_8_bit_icon' : large_8_bit_icon,
'large_4_bit_icon' : large_4_bit_icon,
! 'small_monochrome_icon_and_mask' : small_monochrome_icon_and_mask,
! 'small_8_bit_mask' : small_8_bit_mask,
'small_32_bit_icon' : small_32_bit_icon,
- 'small_8_bit_icon' : small_8_bit_icon,
'small_4_bit_icon' : small_4_bit_icon,
}
icon_family._privelemdict = {
--- 173,186 ----
icon_family._superclassnames = []
icon_family._privpropdict = {
'large_32_bit_icon' : large_32_bit_icon,
'large_4_bit_icon' : large_4_bit_icon,
! 'large_8_bit_icon' : large_8_bit_icon,
! 'large_8_bit_mask' : large_8_bit_mask,
! 'large_monochrome_icon_and_mask' : large_monochrome_icon_and_mask,
'small_32_bit_icon' : small_32_bit_icon,
'small_4_bit_icon' : small_4_bit_icon,
+ 'small_8_bit_icon' : small_8_bit_icon,
+ 'small_8_bit_mask' : small_8_bit_mask,
+ 'small_monochrome_icon_and_mask' : small_monochrome_icon_and_mask,
}
icon_family._privelemdict = {
***************
*** 188,194 ****
label._superclassnames = []
label._privpropdict = {
- 'name' : name,
- 'index' : index,
'color' : color,
}
label._privelemdict = {
--- 188,194 ----
label._superclassnames = []
label._privpropdict = {
'color' : color,
+ 'index' : index,
+ 'name' : name,
}
label._privelemdict = {
***************
*** 196,205 ****
preferences._superclassnames = []
preferences._privpropdict = {
- 'window' : window,
'button_view_arrangement' : button_view_arrangement,
'button_view_icon_size' : button_view_icon_size,
- 'spatial_view_arrangement' : spatial_view_arrangement,
- 'spatial_view_icon_size' : spatial_view_icon_size,
'calculates_folder_sizes' : calculates_folder_sizes,
'list_view_icon_size' : list_view_icon_size,
'shows_comments' : shows_comments,
--- 196,203 ----
preferences._superclassnames = []
preferences._privpropdict = {
'button_view_arrangement' : button_view_arrangement,
'button_view_icon_size' : button_view_icon_size,
'calculates_folder_sizes' : calculates_folder_sizes,
+ 'delay_before_springing' : delay_before_springing,
'list_view_icon_size' : list_view_icon_size,
'shows_comments' : shows_comments,
***************
*** 210,220 ****
'shows_size' : shows_size,
'shows_version' : shows_version,
'uses_relative_dates' : uses_relative_dates,
'uses_simple_menus' : uses_simple_menus,
'uses_wide_grid' : uses_wide_grid,
- 'spring_open_folders' : spring_open_folders,
- 'delay_before_springing' : delay_before_springing,
'view_font' : view_font,
'view_font_size' : view_font_size,
}
preferences._privelemdict = {
--- 208,220 ----
'shows_size' : shows_size,
'shows_version' : shows_version,
+ 'spatial_view_arrangement' : spatial_view_arrangement,
+ 'spatial_view_icon_size' : spatial_view_icon_size,
+ 'spring_open_folders' : spring_open_folders,
'uses_relative_dates' : uses_relative_dates,
'uses_simple_menus' : uses_simple_menus,
'uses_wide_grid' : uses_wide_grid,
'view_font' : view_font,
'view_font_size' : view_font_size,
+ 'window' : window,
}
preferences._privelemdict = {
***************
*** 226,269 ****
#
_classdeclarations = {
- 'cprf' : preferences,
'alst' : alias_list,
- 'ifam' : icon_family,
'clbl' : label,
}
_propdeclarations = {
! 'dela' : delay_before_springing,
! 'ics4' : small_4_bit_icon,
! 'iarr' : spatial_view_arrangement,
'barr' : button_view_arrangement,
! 'vfnt' : view_font,
! 'sknd' : shows_kind,
! 'svrs' : shows_version,
'colr' : color,
! 'ics8' : small_8_bit_mask,
'icl8' : large_8_bit_icon,
- 'pidx' : index,
- 'vfsz' : view_font_size,
- 'sfsz' : calculates_folder_sizes,
'ics#' : small_monochrome_icon_and_mask,
! 'urdt' : uses_relative_dates,
! 'bisz' : button_view_icon_size,
! 'usme' : uses_simple_menus,
! 'sprg' : spring_open_folders,
! 'icl4' : large_4_bit_icon,
! 'slbl' : shows_label,
! 'lisz' : list_view_icon_size,
! 'ssiz' : shows_size,
! 'l8mk' : large_8_bit_mask,
! 'scom' : shows_comments,
'iisz' : spatial_view_icon_size,
! 'sdat' : shows_modification_date,
! 'cwin' : window,
! 'ICN#' : large_monochrome_icon_and_mask,
'is32' : small_32_bit_icon,
'pnam' : name,
- 'il32' : large_32_bit_icon,
- 'uswg' : uses_wide_grid,
'scda' : shows_creation_date,
}
--- 226,269 ----
#
_classdeclarations = {
'alst' : alias_list,
'clbl' : label,
+ 'cprf' : preferences,
+ 'ifam' : icon_family,
}
_propdeclarations = {
! 'ICN#' : large_monochrome_icon_and_mask,
'barr' : button_view_arrangement,
! 'bisz' : button_view_icon_size,
'colr' : color,
! 'cwin' : window,
! 'dela' : delay_before_springing,
! 'iarr' : spatial_view_arrangement,
! 'icl4' : large_4_bit_icon,
'icl8' : large_8_bit_icon,
'ics#' : small_monochrome_icon_and_mask,
! 'ics4' : small_4_bit_icon,
! 'ics8' : small_8_bit_icon,
'iisz' : spatial_view_icon_size,
! 'il32' : large_32_bit_icon,
'is32' : small_32_bit_icon,
+ 'l8mk' : large_8_bit_mask,
+ 'lisz' : list_view_icon_size,
+ 'pidx' : index,
'pnam' : name,
'scda' : shows_creation_date,
+ 'scom' : shows_comments,
+ 'sdat' : shows_modification_date,
+ 'sfsz' : calculates_folder_sizes,
+ 'sknd' : shows_kind,
+ 'slbl' : shows_label,
+ 'sprg' : spring_open_folders,
+ 'ssiz' : shows_size,
+ 'svrs' : shows_version,
+ 'urdt' : uses_relative_dates,
+ 'usme' : uses_simple_menus,
+ 'uswg' : uses_wide_grid,
+ 'vfnt' : view_font,
+ 'vfsz' : view_font_size,
}
Index: Window_classes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Window_classes.py 28 Mar 2003 22:07:18 -0000 1.3
--- Window_classes.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 29,68 ****
"""container window - A window that contains items """
want = 'cwnd'
class container(aetools.NProperty):
"""container - the container from which the window was opened """
which = 'ctnr'
want = 'obj '
- class item(aetools.NProperty):
- """item - the item from which the window was opened (always returns something) """
- which = 'cobj'
- want = 'obj '
class has_custom_view_settings(aetools.NProperty):
"""has custom view settings - Does the folder have custom view settings or is it using the default global settings? """
which = 'cuss'
want = 'bool'
! class view(aetools.NProperty):
! """view - the current view for the window (icon, name, date, etc.) """
! which = 'pvew'
! want = 'long'
class previous_list_view(aetools.NProperty):
"""previous list view - the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed and only available when the window is open) """
which = 'svew'
want = 'enum'
- class button_view_arrangement(aetools.NProperty):
- """button view arrangement - the property by which to keep icons arranged within a button view window """
- which = 'barr'
- want = 'earr'
- class spatial_view_arrangement(aetools.NProperty):
- """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """
- which = 'iarr'
- want = 'earr'
- class sort_direction(aetools.NProperty):
- """sort direction - The direction in which the window is sorted """
- which = 'sord'
- want = 'sodr'
- class calculates_folder_sizes(aetools.NProperty):
- """calculates folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """
- which = 'sfsz'
- want = 'bool'
class shows_comments(aetools.NProperty):
"""shows comments - Are comments displayed in the window? (does not apply to suitcases) """
--- 29,56 ----
"""container window - A window that contains items """
want = 'cwnd'
+ class button_view_arrangement(aetools.NProperty):
+ """button view arrangement - the property by which to keep icons arranged within a button view window """
+ which = 'barr'
+ want = 'earr'
+ class calculates_folder_sizes(aetools.NProperty):
+ """calculates folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """
+ which = 'sfsz'
+ want = 'bool'
class container(aetools.NProperty):
"""container - the container from which the window was opened """
which = 'ctnr'
want = 'obj '
class has_custom_view_settings(aetools.NProperty):
"""has custom view settings - Does the folder have custom view settings or is it using the default global settings? """
which = 'cuss'
want = 'bool'
! class item(aetools.NProperty):
! """item - the item from which the window was opened (always returns something) """
! which = 'cobj'
! want = 'obj '
class previous_list_view(aetools.NProperty):
"""previous list view - the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed and only available when the window is open) """
which = 'svew'
want = 'enum'
class shows_comments(aetools.NProperty):
"""shows comments - Are comments displayed in the window? (does not apply to suitcases) """
***************
*** 93,100 ****
--- 81,100 ----
which = 'svrs'
want = 'bool'
+ class sort_direction(aetools.NProperty):
+ """sort direction - The direction in which the window is sorted """
+ which = 'sord'
+ want = 'sodr'
+ class spatial_view_arrangement(aetools.NProperty):
+ """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """
+ which = 'iarr'
+ want = 'earr'
class uses_relative_dates(aetools.NProperty):
"""uses relative dates - Are relative dates (e.g., today, yesterday) shown in the window? """
which = 'urdt'
want = 'bool'
+ class view(aetools.NProperty):
+ """view - the current view for the window (icon, name, date, etc.) """
+ which = 'pvew'
+ want = 'long'
container_windows = container_window
***************
*** 109,143 ****
"""information window - An information window (opened by \xd2Get Info\xd3) """
want = 'iwnd'
- class current_panel(aetools.NProperty):
- """current panel - the current panel in the information window """
- which = 'panl'
- want = 'ipnl'
class comment(aetools.NProperty):
"""comment - the comment """
which = 'comt'
want = 'itxt'
- class size(aetools.NProperty):
- """size - the logical size of the item """
- which = 'ptsz'
- want = 'long'
- class physical_size(aetools.NProperty):
- """physical size - the actual space used by the item on disk """
- which = 'phys'
- want = 'long'
class creation_date(aetools.NProperty):
"""creation date - the date on which the item was created """
which = 'ascd'
want = 'ldt '
class modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
which = 'asmo'
want = 'ldt '
! 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 (only applies to information windows for applications) """
! which = 'mprt'
want = 'long'
class preferred_size(aetools.NProperty):
--- 109,143 ----
"""information window - An information window (opened by \xd2Get Info\xd3) """
want = 'iwnd'
class comment(aetools.NProperty):
"""comment - the comment """
which = 'comt'
want = 'itxt'
class creation_date(aetools.NProperty):
"""creation date - the date on which the item was created """
which = 'ascd'
want = 'ldt '
+ class current_panel(aetools.NProperty):
+ """current panel - the current panel in the information window """
+ which = 'panl'
+ want = 'ipnl'
+ class icon(aetools.NProperty):
+ """icon - the icon bitmap of the item """
+ which = 'iimg'
+ want = 'ifam'
+ class locked(aetools.NProperty):
+ """locked - Is the item locked (applies only to file and application information windows)? """
+ which = 'aslk'
+ want = 'bool'
+ class minimum_size(aetools.NProperty):
+ """minimum size - the smallest memory size with which the application can be launched (only applies to information windows for applications) """
+ which = 'mprt'
+ want = 'long'
class modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
which = 'asmo'
want = 'ldt '
! class physical_size(aetools.NProperty):
! """physical size - the actual space used by the item on disk """
! which = 'phys'
want = 'long'
class preferred_size(aetools.NProperty):
***************
*** 145,172 ****
which = 'appt'
want = 'long'
- class icon(aetools.NProperty):
- """icon - the icon bitmap of the item """
- which = 'iimg'
- want = 'ifam'
- class locked(aetools.NProperty):
- """locked - Is the item locked (applies only to file and application information windows)? """
- which = 'aslk'
- want = 'bool'
- class stationery(aetools.NProperty):
- """stationery - Is the item a stationery pad? """
- which = 'pspd'
- want = 'bool'
- class warns_before_emptying(aetools.NProperty):
- """warns before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """
- which = 'warn'
- 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'
information_windows = information_window
--- 145,172 ----
which = 'appt'
want = 'long'
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 size(aetools.NProperty):
+ """size - the logical size of the item """
+ which = 'ptsz'
+ want = 'long'
+ class stationery(aetools.NProperty):
+ """stationery - Is the item a stationery pad? """
+ which = 'pspd'
+ want = 'bool'
+ class suggested_size(aetools.NProperty):
+ """suggested size - the memory size with which the developer recommends the application be launched """
+ which = 'sprt'
+ want = 'long'
class version(aetools.NProperty):
"""version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
which = 'vers'
want = 'itxt'
+ class warns_before_emptying(aetools.NProperty):
+ """warns before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """
+ which = 'warn'
+ want = 'bool'
information_windows = information_window
***************
*** 185,224 ****
"""window - A window """
want = 'cwin'
- class position(aetools.NProperty):
- """position - the upper left position of the window """
- which = 'posn'
- want = 'QDpt'
class bounds(aetools.NProperty):
"""bounds - the boundary rectangle for the window """
which = 'pbnd'
want = 'qdrt'
- class titled(aetools.NProperty):
- """titled - Does the window have a title bar? """
- which = 'ptit'
- want = 'bool'
- class name(aetools.NProperty):
- """name - the name of the window """
- which = 'pnam'
- want = 'itxt'
- class index(aetools.NProperty):
- """index - the number of the window in the front-to-back layer ordering """
- which = 'pidx'
- want = 'long'
class closeable(aetools.NProperty):
"""closeable - Does the window have a close box? """
which = 'hclb'
want = 'bool'
class floating(aetools.NProperty):
"""floating - Does the window have a title bar? """
which = 'isfl'
want = 'bool'
class modal(aetools.NProperty):
"""modal - Is the window modal? """
which = 'pmod'
want = 'bool'
class resizable(aetools.NProperty):
"""resizable - Is the window resizable? """
which = 'prsz'
want = 'bool'
class zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
--- 185,240 ----
"""window - A window """
want = 'cwin'
class bounds(aetools.NProperty):
"""bounds - the boundary rectangle for the window """
which = 'pbnd'
want = 'qdrt'
class closeable(aetools.NProperty):
"""closeable - Does the window have a close box? """
which = 'hclb'
want = 'bool'
+ class collapsed(aetools.NProperty):
+ """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
+ which = 'wshd'
+ want = 'bool'
class floating(aetools.NProperty):
"""floating - Does the window have a title bar? """
which = 'isfl'
want = 'bool'
+ class index(aetools.NProperty):
+ """index - the number of the window in the front-to-back layer ordering """
+ which = 'pidx'
+ want = 'long'
class modal(aetools.NProperty):
"""modal - Is the window modal? """
which = 'pmod'
want = 'bool'
+ class name(aetools.NProperty):
+ """name - the name of the window """
+ which = 'pnam'
+ want = 'itxt'
+ class popup(aetools.NProperty):
+ """popup - Is the window is a pop-up window? (only applies to open container windows in the Finder and can only be set when the Finder is the front application) """
+ which = 'drwr'
+ want = 'bool'
+ class position(aetools.NProperty):
+ """position - the upper left position of the window """
+ which = 'posn'
+ want = 'QDpt'
+ class pulled_open(aetools.NProperty):
+ """pulled open - Is the window pulled open (only applies to pop-up windows and can only be set when the Finder is the front application)? """
+ which = 'pull'
+ want = 'bool'
class resizable(aetools.NProperty):
"""resizable - Is the window resizable? """
which = 'prsz'
want = 'bool'
+ class titled(aetools.NProperty):
+ """titled - Does the window have a title bar? """
+ which = 'ptit'
+ want = 'bool'
+ class visible(aetools.NProperty):
+ """visible - Is the window visible (always true for open Finder windows)? """
+ which = 'pvis'
+ want = 'bool'
class zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
***************
*** 233,252 ****
which = 'zumf'
want = 'bool'
- class visible(aetools.NProperty):
- """visible - Is the window visible (always true for open Finder windows)? """
- which = 'pvis'
- want = 'bool'
- class popup(aetools.NProperty):
- """popup - Is the window is a pop-up window? (only applies to open container windows in the Finder and can only be set when the Finder is the front application) """
- which = 'drwr'
- want = 'bool'
- class pulled_open(aetools.NProperty):
- """pulled open - Is the window pulled open (only applies to pop-up windows and can only be set when the Finder is the front application)? """
- which = 'pull'
- want = 'bool'
- class collapsed(aetools.NProperty):
- """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
- which = 'wshd'
- want = 'bool'
windows = window
--- 249,252 ----
***************
*** 260,272 ****
container_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'container' : container,
- 'item' : item,
'has_custom_view_settings' : has_custom_view_settings,
! 'view' : view,
'previous_list_view' : previous_list_view,
- 'button_view_arrangement' : button_view_arrangement,
- 'spatial_view_arrangement' : spatial_view_arrangement,
- 'sort_direction' : sort_direction,
- 'calculates_folder_sizes' : calculates_folder_sizes,
'shows_comments' : shows_comments,
'shows_creation_date' : shows_creation_date,
--- 260,269 ----
container_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+ 'button_view_arrangement' : button_view_arrangement,
+ 'calculates_folder_sizes' : calculates_folder_sizes,
'container' : container,
'has_custom_view_settings' : has_custom_view_settings,
! 'item' : item,
'previous_list_view' : previous_list_view,
'shows_comments' : shows_comments,
'shows_creation_date' : shows_creation_date,
***************
*** 276,280 ****
--- 273,280 ----
'shows_size' : shows_size,
'shows_version' : shows_version,
+ 'sort_direction' : sort_direction,
+ 'spatial_view_arrangement' : spatial_view_arrangement,
'uses_relative_dates' : uses_relative_dates,
+ 'view' : view,
}
container_window._privelemdict = {
***************
*** 288,307 ****
information_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'item' : item,
- 'current_panel' : current_panel,
'comment' : comment,
- 'size' : size,
- 'physical_size' : physical_size,
'creation_date' : creation_date,
! 'modification_date' : modification_date,
! 'suggested_size' : suggested_size,
! 'minimum_size' : minimum_size,
! 'preferred_size' : preferred_size,
'icon' : icon,
'locked' : locked,
! 'stationery' : stationery,
! 'warns_before_emptying' : warns_before_emptying,
'product_version' : product_version,
'version' : version,
}
information_window._privelemdict = {
--- 288,307 ----
information_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
'comment' : comment,
'creation_date' : creation_date,
! 'current_panel' : current_panel,
'icon' : icon,
+ 'item' : item,
'locked' : locked,
! 'minimum_size' : minimum_size,
! 'modification_date' : modification_date,
! 'physical_size' : physical_size,
! 'preferred_size' : preferred_size,
'product_version' : product_version,
+ 'size' : size,
+ 'stationery' : stationery,
+ 'suggested_size' : suggested_size,
'version' : version,
+ 'warns_before_emptying' : warns_before_emptying,
}
information_window._privelemdict = {
***************
*** 323,342 ****
window._superclassnames = []
window._privpropdict = {
- 'position' : position,
'bounds' : bounds,
- 'titled' : titled,
- 'name' : name,
- 'index' : index,
'closeable' : closeable,
'floating' : floating,
'modal' : modal,
'resizable' : resizable,
'zoomable' : zoomable,
'zoomed' : zoomed,
'zoomed_full_size' : zoomed_full_size,
- 'visible' : visible,
- 'popup' : popup,
- 'pulled_open' : pulled_open,
- 'collapsed' : collapsed,
}
window._privelemdict = {
--- 323,342 ----
window._superclassnames = []
window._privpropdict = {
'bounds' : bounds,
'closeable' : closeable,
+ 'collapsed' : collapsed,
'floating' : floating,
+ 'index' : index,
'modal' : modal,
+ 'name' : name,
+ 'popup' : popup,
+ 'position' : position,
+ 'pulled_open' : pulled_open,
'resizable' : resizable,
+ 'titled' : titled,
+ 'visible' : visible,
'zoomable' : zoomable,
'zoomed' : zoomed,
'zoomed_full_size' : zoomed_full_size,
}
window._privelemdict = {
***************
*** 347,409 ****
#
_classdeclarations = {
- 'pwnd' : preferences_window,
'cwin' : window,
- 'vwnd' : view_options_window,
- 'lwnd' : clipping_window,
'cwnd' : container_window,
'dwnd' : content_space,
'iwnd' : information_window,
}
_propdeclarations = {
- 'prsz' : resizable,
- 'barr' : button_view_arrangement,
- 'pbnd' : bounds,
'appt' : preferred_size,
! 'iarr' : spatial_view_arrangement,
! 'hclb' : closeable,
'c@#^' : _3c_Inheritance_3e_,
! 'ver2' : product_version,
'cuss' : has_custom_view_settings,
! 'sprt' : suggested_size,
! 'zumf' : zoomed_full_size,
! 'urdt' : uses_relative_dates,
! 'panl' : current_panel,
! 'pmod' : modal,
! 'scom' : shows_comments,
! 'pspd' : stationery,
! 'aslk' : locked,
! 'pzum' : zoomed,
'iimg' : icon,
'mprt' : minimum_size,
'pnam' : name,
- 'ssiz' : shows_size,
- 'asmo' : modification_date,
- 'cobj' : item,
- 'ptit' : titled,
'posn' : position,
! 'vers' : version,
! 'phys' : physical_size,
! 'pull' : pulled_open,
! 'sknd' : shows_kind,
! 'svrs' : shows_version,
! 'svew' : previous_list_view,
! 'comt' : comment,
! 'iszm' : zoomable,
! 'sord' : sort_direction,
! 'ascd' : creation_date,
! 'ctnr' : container,
! 'wshd' : collapsed,
! 'slbl' : shows_label,
! 'warn' : warns_before_emptying,
'ptsz' : size,
'pvis' : visible,
! 'pidx' : index,
! 'isfl' : floating,
! 'drwr' : popup,
'sdat' : shows_modification_date,
- 'pvew' : view,
'sfsz' : calculates_folder_sizes,
! 'scda' : shows_creation_date,
}
--- 347,409 ----
#
_classdeclarations = {
'cwin' : window,
'cwnd' : container_window,
'dwnd' : content_space,
'iwnd' : information_window,
+ 'lwnd' : clipping_window,
+ 'pwnd' : preferences_window,
+ 'vwnd' : view_options_window,
}
_propdeclarations = {
'appt' : preferred_size,
! 'ascd' : creation_date,
! 'aslk' : locked,
! 'asmo' : modification_date,
! 'barr' : button_view_arrangement,
'c@#^' : _3c_Inheritance_3e_,
! 'cobj' : item,
! 'comt' : comment,
! 'ctnr' : container,
'cuss' : has_custom_view_settings,
! 'drwr' : popup,
! 'hclb' : closeable,
! 'iarr' : spatial_view_arrangement,
'iimg' : icon,
+ 'isfl' : floating,
+ 'iszm' : zoomable,
'mprt' : minimum_size,
+ 'panl' : current_panel,
+ 'pbnd' : bounds,
+ 'phys' : physical_size,
+ 'pidx' : index,
+ 'pmod' : modal,
'pnam' : name,
'posn' : position,
! 'prsz' : resizable,
! 'pspd' : stationery,
! 'ptit' : titled,
'ptsz' : size,
+ 'pull' : pulled_open,
+ 'pvew' : view,
'pvis' : visible,
! 'pzum' : zoomed,
! 'scda' : shows_creation_date,
! 'scom' : shows_comments,
'sdat' : shows_modification_date,
'sfsz' : calculates_folder_sizes,
! 'sknd' : shows_kind,
! 'slbl' : shows_label,
! 'sord' : sort_direction,
! 'sprt' : suggested_size,
! 'ssiz' : shows_size,
! 'svew' : previous_list_view,
! 'svrs' : shows_version,
! 'urdt' : uses_relative_dates,
! 'ver2' : product_version,
! 'vers' : version,
! 'warn' : warns_before_emptying,
! 'wshd' : collapsed,
! 'zumf' : zoomed_full_size,
}
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** __init__.py 28 Mar 2003 22:07:18 -0000 1.3
--- __init__.py 28 Mar 2003 23:37:56 -0000 1.4
***************
*** 77,93 ****
# Set property and element dictionaries now that all classes have been defined
#
- getbaseclasses(accessory_suitcase)
- getbaseclasses(preferences)
- getbaseclasses(sharable_container)
- getbaseclasses(application)
- getbaseclasses(trash_2d_object)
- getbaseclasses(accessory_process)
- getbaseclasses(window)
- getbaseclasses(information_window)
- getbaseclasses(process)
- getbaseclasses(application_file)
- getbaseclasses(internet_location)
- getbaseclasses(container_window)
- getbaseclasses(item)
getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
--- 77,80 ----
***************
*** 130,133 ****
--- 117,134 ----
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
+ getbaseclasses(accessory_suitcase)
+ getbaseclasses(preferences)
+ getbaseclasses(sharable_container)
+ getbaseclasses(application)
+ getbaseclasses(trash_2d_object)
+ getbaseclasses(accessory_process)
+ getbaseclasses(window)
+ getbaseclasses(information_window)
+ getbaseclasses(process)
+ getbaseclasses(application_file)
+ getbaseclasses(internet_location)
+ getbaseclasses(container_window)
+ getbaseclasses(item)
+ getbaseclasses(item)
getbaseclasses(trash_2d_object)
getbaseclasses(desktop_2d_object)
***************
*** 137,143 ****
getbaseclasses(folder)
getbaseclasses(container)
- getbaseclasses(application)
- getbaseclasses(special_folders)
- getbaseclasses(item)
getbaseclasses(sound_file)
getbaseclasses(font_file)
--- 138,141 ----
***************
*** 153,156 ****
--- 151,156 ----
getbaseclasses(document_file)
getbaseclasses(package)
+ getbaseclasses(application)
+ getbaseclasses(special_folders)
getbaseclasses(preferences_window)
getbaseclasses(view_options_window)
***************
*** 160,163 ****
--- 160,174 ----
getbaseclasses(information_window)
getbaseclasses(clipping_window)
+ getbaseclasses(status_window)
+ getbaseclasses(application)
+ getbaseclasses(sharing_window)
+ getbaseclasses(control_panel)
+ getbaseclasses(process)
+ getbaseclasses(item)
+ getbaseclasses(file)
+ getbaseclasses(sharable_container)
+ getbaseclasses(container_window)
+ getbaseclasses(container)
+ getbaseclasses(information_window)
getbaseclasses(process)
getbaseclasses(desk_accessory_process)
***************
*** 247,261 ****
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
- getbaseclasses(status_window)
- getbaseclasses(application)
- getbaseclasses(sharing_window)
- getbaseclasses(control_panel)
- getbaseclasses(process)
- getbaseclasses(item)
- getbaseclasses(file)
- getbaseclasses(sharable_container)
- getbaseclasses(container_window)
- getbaseclasses(container)
- getbaseclasses(information_window)
#
--- 258,261 ----
***************
*** 263,279 ****
#
_classdeclarations = {
- 'dsut' : accessory_suitcase,
- 'cprf' : preferences,
- 'sctr' : sharable_container,
- 'capp' : application,
- 'ctrs' : trash_2d_object,
- 'pcda' : accessory_process,
- 'cwin' : window,
- 'iwnd' : information_window,
- 'prcs' : process,
- 'appf' : application_file,
- 'inlf' : internet_location,
- 'cwnd' : container_window,
- 'cobj' : item,
'shor' : StdSuites.Type_Names_Suite.small_integer,
'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
--- 263,266 ----
***************
*** 316,319 ****
--- 303,320 ----
'QDpt' : StdSuites.Type_Names_Suite.point,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
+ 'dsut' : accessory_suitcase,
+ 'cprf' : preferences,
+ 'sctr' : sharable_container,
+ 'capp' : application,
+ 'ctrs' : trash_2d_object,
+ 'pcda' : accessory_process,
+ 'cwin' : window,
+ 'iwnd' : information_window,
+ 'prcs' : process,
+ 'appf' : application_file,
+ 'inlf' : internet_location,
+ 'cwnd' : container_window,
+ 'cobj' : item,
+ 'cobj' : item,
'ctrs' : trash_2d_object,
'cdsk' : desktop_2d_object,
***************
*** 323,329 ****
'cfol' : folder,
'ctnr' : container,
- 'capp' : application,
- 'spfl' : special_folders,
- 'cobj' : item,
'sndf' : sound_file,
'fntf' : font_file,
--- 324,327 ----
***************
*** 339,342 ****
--- 337,342 ----
'docf' : document_file,
'pack' : package,
+ 'capp' : application,
+ 'spfl' : special_folders,
'pwnd' : preferences_window,
'vwnd' : view_options_window,
***************
*** 346,349 ****
--- 346,360 ----
'iwnd' : information_window,
'lwnd' : clipping_window,
+ 'qwnd' : status_window,
+ 'capp' : application,
+ 'swnd' : sharing_window,
+ 'ccdv' : control_panel,
+ 'prcs' : process,
+ 'cobj' : item,
+ 'file' : file,
+ 'sctr' : sharable_container,
+ 'cwnd' : container_window,
+ 'ctnr' : container,
+ 'iwnd' : information_window,
'prcs' : process,
'pcda' : desk_accessory_process,
***************
*** 433,447 ****
'QDpt' : StdSuites.Type_Names_Suite.point,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
- 'qwnd' : status_window,
- 'capp' : application,
- 'swnd' : sharing_window,
- 'ccdv' : control_panel,
- 'prcs' : process,
- 'cobj' : item,
- 'file' : file,
- 'sctr' : sharable_container,
- 'cwnd' : container_window,
- 'ctnr' : container,
- 'iwnd' : information_window,
}
--- 444,447 ----