diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 23:38:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 23:38:00 (GMT) |
commit | d4885f87fa203587b4f5cfd5961f7acbbe36c3c0 (patch) | |
tree | 71f457810871e028e1ddee19f92ac17a1a62c3ef /Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py | |
parent | 00c348328bacfa137441f9a28413e7782534e1c6 (diff) | |
download | cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.zip cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.tar.gz cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.tar.bz2 |
Sigh: didn't catch all lists that needed to be sorted. Regenerated again.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py')
-rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py b/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py index 541abf6..3ca857f 100644 --- a/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py +++ b/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py @@ -42,18 +42,18 @@ desk_accessory_processes = desk_accessory_process class process(aetools.ComponentItem): """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' +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 frontmost(aetools.NProperty): - """frontmost - Is the process the frontmost process? """ - which = 'pisf' +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 """ which = 'file' @@ -62,30 +62,30 @@ class file_type(aetools.NProperty): """file type - the OSType of the file type of the process """ 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' +class frontmost(aetools.NProperty): + """frontmost - Is the process the frontmost process? """ + which = 'pisf' want = 'bool' class has_scripting_terminology(aetools.NProperty): """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """ which = 'hscr' want = 'bool' -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 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 application_process._superclassnames = ['process'] @@ -104,17 +104,17 @@ desk_accessory_process._privelemdict = { } 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, + 'creator_type' : creator_type, + 'file' : file, + 'file_type' : file_type, + 'frontmost' : frontmost, 'has_scripting_terminology' : has_scripting_terminology, - 'total_partition_size' : total_partition_size, + 'name' : name, 'partition_space_used' : partition_space_used, + 'total_partition_size' : total_partition_size, + 'visible' : visible, } process._privelemdict = { } @@ -123,25 +123,25 @@ process._privelemdict = { # Indices of types declared in this module # _classdeclarations = { - 'prcs' : process, - 'pcda' : desk_accessory_process, 'pcap' : application_process, + 'pcda' : desk_accessory_process, + 'prcs' : process, } _propdeclarations = { - 'pvis' : visible, - 'pisf' : frontmost, + 'appf' : application_file, 'appt' : total_partition_size, - 'isab' : accepts_high_level_events, - 'dafi' : desk_accessory_file, - 'hscr' : has_scripting_terminology, 'asty' : file_type, 'c@#^' : _3c_Inheritance_3e_, + 'dafi' : desk_accessory_file, 'fcrt' : creator_type, - 'pusd' : partition_space_used, 'file' : file, + 'hscr' : has_scripting_terminology, + 'isab' : accepts_high_level_events, + 'pisf' : frontmost, 'pnam' : name, - 'appf' : application_file, + 'pusd' : partition_space_used, + 'pvis' : visible, 'revt' : accepts_remote_events, } |