Re-gegernated with the new gensuitemodule.

This commit is contained in:
Jack Jansen 2003-06-13 14:31:19 +00:00
parent c8882b10c4
commit 8475d0256a
38 changed files with 971 additions and 5389 deletions

View file

@ -39,31 +39,45 @@ class Disk_Folder_File_Suite_Events:
return _arguments['----']
class alias(aetools.ComponentItem):
"""alias - An alias in the file system """
want = 'alis'
class application(aetools.ComponentItem):
"""application - The Disk-Folder-File Suite host program """
want = 'capp'
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'cobj'
want = 'capp'
_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_folder_actions_enabled(aetools.NProperty):
"""folder actions enabled - Are Folder Actions currently being processed? """
which = 'faen'
want = 'bool'
folder_actions_enabled = _Prop_folder_actions_enabled()
class _Prop_properties(aetools.NProperty):
"""properties - every property of the alias """
"""properties - every property of the Disk-Folder-File Suite host program """
which = 'pALL'
want = '****'
class _Prop_version(aetools.NProperty):
"""version - the version of the application bundle referenced by the alias (visible at the bottom of the "Get Info" window) """
which = 'vers'
want = 'utxt'
# element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
properties = _Prop_properties()
# element 'cdis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'foac' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'logi' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcap' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'pcda' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'prcs' as ['name', 'indx', 'rele', 'rang', 'test']
aliases = alias
applications = application
class disk(aetools.ComponentItem):
"""disk - A disk in the file system """
want = 'cdis'
class _Prop_POSIX_path(aetools.NProperty):
"""POSIX path - the POSIX file system path of the disk """
which = 'posx'
want = 'utxt'
class _Prop_capacity(aetools.NProperty):
"""capacity - the total number of bytes (free or used) on the disk """
which = 'capa'
@ -85,14 +99,25 @@ class _Prop_ignore_privileges(aetools.NProperty):
which = 'igpr'
want = 'bool'
class _Prop_local_volume(aetools.NProperty):
"""local volume - Is the media a local volume (as opposed to a file server)? """
"""local volume - Is the media a local volume (as opposed to a file server? """
which = 'isrv'
want = 'bool'
class _Prop_name(aetools.NProperty):
"""name - the name of the disk """
which = 'pnam'
want = 'utxt'
class _Prop_path(aetools.NProperty):
"""path - the file system path of the disk """
which = 'ppth'
want = 'utxt'
class _Prop_startup(aetools.NProperty):
"""startup - Is this disk the boot disk? """
which = 'istd'
want = 'bool'
# element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
class _Prop_volume(aetools.NProperty):
"""volume - the volume on which the folder resides """
which = 'volu'
want = 'utxt'
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
@ -102,9 +127,11 @@ disks = disk
class folder(aetools.ComponentItem):
"""folder - A folder in the file system """
want = 'cfol'
# element 'alis' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
folders = folder
@ -112,10 +139,6 @@ folders = folder
class item(aetools.ComponentItem):
"""item - An item in the file system """
want = 'cobj'
class _Prop_POSIX_path(aetools.NProperty):
"""POSIX path - the POSIX file system path of the item """
which = 'posx'
want = 'utxt'
class _Prop_busy_status(aetools.NProperty):
"""busy status - Is the item busy? """
which = 'busy'
@ -124,18 +147,10 @@ class _Prop_creation_date(aetools.NProperty):
"""creation date - the date on which the item was created """
which = 'ascd'
want = '****'
class _Prop_displayed_name(aetools.NProperty):
"""displayed name - the name of the item as displayed in the User Interface """
which = 'dnam'
want = 'utxt'
class _Prop_modification_date(aetools.NProperty):
"""modification date - the date on which the item was last modified """
which = 'asmo'
want = '****'
class _Prop_name(aetools.NProperty):
"""name - the name of the item """
which = 'pnam'
want = 'utxt'
class _Prop_name_extension(aetools.NProperty):
"""name extension - the extension portion of the name """
which = 'extn'
@ -144,22 +159,17 @@ class _Prop_package_folder(aetools.NProperty):
"""package folder - Is the item a package? """
which = 'pkgf'
want = 'bool'
class _Prop_path(aetools.NProperty):
"""path - the file system path of the item """
which = 'ppth'
want = 'utxt'
class _Prop_url(aetools.NProperty):
"""url - the url of the item """
which = 'url '
want = 'utxt'
class _Prop_visible(aetools.NProperty):
"""visible - Is the item visible? """
which = 'pvis'
which = 'visi'
want = 'bool'
class _Prop_volume(aetools.NProperty):
"""volume - the volume on which the item resides """
which = 'volu'
want = 'utxt'
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
items = item
@ -167,45 +177,64 @@ class file(aetools.ComponentItem):
"""file - A file in the file system """
want = 'file'
class _Prop_creator_type(aetools.NProperty):
"""creator type - the OSType identifying the application that created the file """
"""creator type - the OSType identifying the application that created the item """
which = 'fcrt'
want = 'utxt'
class _Prop_file_type(aetools.NProperty):
"""file type - the OSType identifying the type of data contained in the file """
"""file type - the OSType identifying the type of data contained in the item """
which = 'asty'
want = 'utxt'
class _Prop_physical_size(aetools.NProperty):
"""physical size - the actual space used by the file on disk """
which = 'phys'
want = '****'
want = 'magn'
class _Prop_product_version(aetools.NProperty):
"""product version - the version of the product (visible at the top of the "Get Info" window) """
"""product version - the version of the product (visible at the top of the ?et Info?window) """
which = 'ver2'
want = 'utxt'
class _Prop_size(aetools.NProperty):
"""size - the logical size of the file """
which = 'ptsz'
want = '****'
want = 'magn'
class _Prop_stationery(aetools.NProperty):
"""stationery - Is the file a stationery pad? """
which = 'pspd'
want = 'bool'
class _Prop_version(aetools.NProperty):
"""version - the version of the file (visible at the bottom of the ?et Info?window) """
which = 'vers'
want = 'utxt'
# element 'cfol' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'cobj' as ['name', 'indx', 'rele', 'rang', 'test']
# element 'file' as ['name', 'indx', 'rele', 'rang', 'test']
files = file
alias._superclassnames = ['item']
alias._privpropdict = {
application._superclassnames = []
import Standard_Suite
import Folder_Actions_Suite
import Login_Items_Suite
import Processes_Suite
application._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'folder_actions_enabled' : _Prop_folder_actions_enabled,
'properties' : _Prop_properties,
'version' : _Prop_version,
}
alias._privelemdict = {
'alias' : alias,
application._privelemdict = {
'application_process' : Processes_Suite.application_process,
'desk_accessory_process' : Processes_Suite.desk_accessory_process,
'disk' : disk,
'document' : Standard_Suite.document,
'file' : file,
'folder' : folder,
'folder_action' : Folder_Actions_Suite.folder_action,
'item' : item,
'login_item' : Login_Items_Suite.login_item,
'process' : Processes_Suite.process,
'window' : Standard_Suite.window,
}
disk._superclassnames = ['item']
disk._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'capacity' : _Prop_capacity,
'ejectable' : _Prop_ejectable,
@ -213,24 +242,32 @@ disk._privpropdict = {
'free_space' : _Prop_free_space,
'ignore_privileges' : _Prop_ignore_privileges,
'local_volume' : _Prop_local_volume,
'name' : _Prop_name,
'path' : _Prop_path,
'properties' : _Prop_properties,
'startup' : _Prop_startup,
'volume' : _Prop_volume,
}
disk._privelemdict = {
'alias' : alias,
'file' : file,
'folder' : folder,
'item' : item,
}
folder._superclassnames = ['item']
folder._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'name' : _Prop_name,
'path' : _Prop_path,
'properties' : _Prop_properties,
'volume' : _Prop_volume,
}
folder._privelemdict = {
'alias' : alias,
'file' : file,
'file' : file,
'folder' : folder,
'folder' : folder,
'item' : item,
'item' : item,
}
item._superclassnames = []
@ -239,7 +276,6 @@ item._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'busy_status' : _Prop_busy_status,
'creation_date' : _Prop_creation_date,
'displayed_name' : _Prop_displayed_name,
'modification_date' : _Prop_modification_date,
'name' : _Prop_name,
'name_extension' : _Prop_name_extension,
@ -251,20 +287,30 @@ item._privpropdict = {
'volume' : _Prop_volume,
}
item._privelemdict = {
'file' : file,
'folder' : folder,
'item' : item,
}
file._superclassnames = ['item']
file._privpropdict = {
'POSIX_path' : _Prop_POSIX_path,
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'creator_type' : _Prop_creator_type,
'file_type' : _Prop_file_type,
'name' : _Prop_name,
'path' : _Prop_path,
'physical_size' : _Prop_physical_size,
'product_version' : _Prop_product_version,
'properties' : _Prop_properties,
'size' : _Prop_size,
'stationery' : _Prop_stationery,
'version' : _Prop_version,
'volume' : _Prop_volume,
}
file._privelemdict = {
'file' : file,
'folder' : folder,
'item' : item,
}
_Enum_edfm = {
'MS_2d_DOS_format' : 'dfms', # MS-DOS format
@ -289,7 +335,7 @@ _Enum_edfm = {
# Indices of types declared in this module
#
_classdeclarations = {
'alis' : alias,
'capp' : application,
'cdis' : disk,
'cfol' : folder,
'cobj' : item,
@ -304,8 +350,8 @@ _propdeclarations = {
'c@#^' : _Prop__3c_Inheritance_3e_,
'capa' : _Prop_capacity,
'dfmt' : _Prop_format,
'dnam' : _Prop_displayed_name,
'extn' : _Prop_name_extension,
'faen' : _Prop_folder_actions_enabled,
'fcrt' : _Prop_creator_type,
'frsp' : _Prop_free_space,
'igpr' : _Prop_ignore_privileges,
@ -320,10 +366,10 @@ _propdeclarations = {
'ppth' : _Prop_path,
'pspd' : _Prop_stationery,
'ptsz' : _Prop_size,
'pvis' : _Prop_visible,
'url ' : _Prop_url,
'ver2' : _Prop_product_version,
'vers' : _Prop_version,
'visi' : _Prop_visible,
'volu' : _Prop_volume,
}