"""
Package generated from /System/Library/CoreServices/Finder.app
"""
import aetools
Error = aetools.Error
import Standard_Suite
import Legacy_suite
import Containers_and_folders
import Files
import Finder_Basics
import Finder_items
import Window_classes
import Type_Definitions
import Enumerations


_code_to_module = {
	'CoRe' : Standard_Suite,
	'fleg' : Legacy_suite,
	'fndr' : Containers_and_folders,
	'fndr' : Files,
	'fndr' : Finder_Basics,
	'fndr' : Finder_items,
	'fndr' : Window_classes,
	'tpdf' : Type_Definitions,
	'tpnm' : Enumerations,
}



_code_to_fullname = {
	'CoRe' : ('Finder.Standard_Suite', 'Standard_Suite'),
	'fleg' : ('Finder.Legacy_suite', 'Legacy_suite'),
	'fndr' : ('Finder.Containers_and_folders', 'Containers_and_folders'),
	'fndr' : ('Finder.Files', 'Files'),
	'fndr' : ('Finder.Finder_Basics', 'Finder_Basics'),
	'fndr' : ('Finder.Finder_items', 'Finder_items'),
	'fndr' : ('Finder.Window_classes', 'Window_classes'),
	'tpdf' : ('Finder.Type_Definitions', 'Type_Definitions'),
	'tpnm' : ('Finder.Enumerations', 'Enumerations'),
}

from Standard_Suite import *
from Legacy_suite import *
from Containers_and_folders import *
from Files import *
from Finder_Basics import *
from Finder_items import *
from Window_classes import *
from Type_Definitions import *
from Enumerations import *

def getbaseclasses(v):
	if not getattr(v, '_propdict', None):
		v._propdict = {}
		v._elemdict = {}
		for superclassname in getattr(v, '_superclassnames', []):
			superclass = eval(superclassname)
			getbaseclasses(superclass)
			v._propdict.update(getattr(superclass, '_propdict', {}))
			v._elemdict.update(getattr(superclass, '_elemdict', {}))
		v._propdict.update(getattr(v, '_privpropdict', {}))
		v._elemdict.update(getattr(v, '_privelemdict', {}))

import StdSuites

#
# Set property and element dictionaries now that all classes have been defined
#
getbaseclasses(item)
getbaseclasses(application)
getbaseclasses(package)
getbaseclasses(file)
getbaseclasses(application_file)
getbaseclasses(alias_file)
getbaseclasses(internet_location_file)
getbaseclasses(document_file)
getbaseclasses(clipping)
getbaseclasses(process)
getbaseclasses(application_process)
getbaseclasses(desk_accessory_process)
getbaseclasses(application)
getbaseclasses(preferences_window)
getbaseclasses(Finder_window)
getbaseclasses(window)
getbaseclasses(clipping_window)
getbaseclasses(information_window)
getbaseclasses(trash_2d_object)
getbaseclasses(desktop_2d_object)
getbaseclasses(container)
getbaseclasses(folder)
getbaseclasses(disk)
getbaseclasses(icon_view_options)
getbaseclasses(label)
getbaseclasses(column)
getbaseclasses(preferences)
getbaseclasses(alias_list)
getbaseclasses(icon_family)
getbaseclasses(list_view_options)
getbaseclasses(StdSuites.Type_Names_Suite.double_integer)
getbaseclasses(StdSuites.Type_Names_Suite.version)
getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.color_table)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_point)
getbaseclasses(StdSuites.Type_Names_Suite.TIFF_picture)
getbaseclasses(StdSuites.Type_Names_Suite.type_element_info)
getbaseclasses(StdSuites.Type_Names_Suite.type_event_info)
getbaseclasses(StdSuites.Type_Names_Suite.machine_location)
getbaseclasses(StdSuites.Type_Names_Suite.PostScript_picture)
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_point)
getbaseclasses(StdSuites.Type_Names_Suite.menu_item)
getbaseclasses(StdSuites.Type_Names_Suite.scrap_styles)
getbaseclasses(StdSuites.Type_Names_Suite.application_dictionary)
getbaseclasses(StdSuites.Type_Names_Suite.unsigned_integer)
getbaseclasses(StdSuites.Type_Names_Suite.menu)
getbaseclasses(StdSuites.Type_Names_Suite.fixed_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.type_property_info)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.long_fixed)
getbaseclasses(StdSuites.Type_Names_Suite.type_suite_info)
getbaseclasses(StdSuites.Type_Names_Suite.rotation)
getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
getbaseclasses(StdSuites.Type_Names_Suite.fixed)
getbaseclasses(StdSuites.Type_Names_Suite.long_point)
getbaseclasses(StdSuites.Type_Names_Suite.type_class_info)
getbaseclasses(StdSuites.Type_Names_Suite.RGB96_color)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
getbaseclasses(StdSuites.Type_Names_Suite.pixel_map_record)
getbaseclasses(StdSuites.Type_Names_Suite.type_parameter_info)
getbaseclasses(StdSuites.Type_Names_Suite.extended_real)
getbaseclasses(StdSuites.Type_Names_Suite.long_rectangle)
getbaseclasses(StdSuites.Type_Names_Suite.dash_style)
getbaseclasses(StdSuites.Type_Names_Suite.plain_text)
getbaseclasses(StdSuites.Type_Names_Suite.small_real)
getbaseclasses(StdSuites.Type_Names_Suite.null)
getbaseclasses(StdSuites.Type_Names_Suite.location_reference)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)

#
# Indices of types declared in this module
#
_classdeclarations = {
	'cobj' : item,
	'capp' : application,
	'pack' : package,
	'file' : file,
	'appf' : application_file,
	'alia' : alias_file,
	'inlf' : internet_location_file,
	'docf' : document_file,
	'clpf' : clipping,
	'prcs' : process,
	'pcap' : application_process,
	'pcda' : desk_accessory_process,
	'capp' : application,
	'pwnd' : preferences_window,
	'brow' : Finder_window,
	'cwin' : window,
	'lwnd' : clipping_window,
	'iwnd' : information_window,
	'ctrs' : trash_2d_object,
	'cdsk' : desktop_2d_object,
	'ctnr' : container,
	'cfol' : folder,
	'cdis' : disk,
	'icop' : icon_view_options,
	'clbl' : label,
	'lvcl' : column,
	'cprf' : preferences,
	'alst' : alias_list,
	'ifam' : icon_family,
	'lvop' : list_view_options,
	'comp' : StdSuites.Type_Names_Suite.double_integer,
	'vers' : StdSuites.Type_Names_Suite.version,
	'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
	'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
	'clrt' : StdSuites.Type_Names_Suite.color_table,
	'fpnt' : StdSuites.Type_Names_Suite.fixed_point,
	'TIFF' : StdSuites.Type_Names_Suite.TIFF_picture,
	'elin' : StdSuites.Type_Names_Suite.type_element_info,
	'evin' : StdSuites.Type_Names_Suite.type_event_info,
	'mLoc' : StdSuites.Type_Names_Suite.machine_location,
	'EPS ' : StdSuites.Type_Names_Suite.PostScript_picture,
	'QDpt' : StdSuites.Type_Names_Suite.point,
	'lfpt' : StdSuites.Type_Names_Suite.long_fixed_point,
	'cmen' : StdSuites.Type_Names_Suite.menu_item,
	'styl' : StdSuites.Type_Names_Suite.scrap_styles,
	'aete' : StdSuites.Type_Names_Suite.application_dictionary,
	'magn' : StdSuites.Type_Names_Suite.unsigned_integer,
	'cmnu' : StdSuites.Type_Names_Suite.menu,
	'frct' : StdSuites.Type_Names_Suite.fixed_rectangle,
	'pinf' : StdSuites.Type_Names_Suite.type_property_info,
	'lfrc' : StdSuites.Type_Names_Suite.long_fixed_rectangle,
	'lfxd' : StdSuites.Type_Names_Suite.long_fixed,
	'suin' : StdSuites.Type_Names_Suite.type_suite_info,
	'trot' : StdSuites.Type_Names_Suite.rotation,
	'shor' : StdSuites.Type_Names_Suite.small_integer,
	'fixd' : StdSuites.Type_Names_Suite.fixed,
	'lpnt' : StdSuites.Type_Names_Suite.long_point,
	'gcli' : StdSuites.Type_Names_Suite.type_class_info,
	'tr96' : StdSuites.Type_Names_Suite.RGB96_color,
	'targ' : StdSuites.Type_Names_Suite.target_id,
	'tpmm' : StdSuites.Type_Names_Suite.pixel_map_record,
	'pmin' : StdSuites.Type_Names_Suite.type_parameter_info,
	'exte' : StdSuites.Type_Names_Suite.extended_real,
	'lrct' : StdSuites.Type_Names_Suite.long_rectangle,
	'tdas' : StdSuites.Type_Names_Suite.dash_style,
	'TEXT' : StdSuites.Type_Names_Suite.plain_text,
	'sing' : StdSuites.Type_Names_Suite.small_real,
	'null' : StdSuites.Type_Names_Suite.null,
	'insl' : StdSuites.Type_Names_Suite.location_reference,
	'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
}


class Finder(Standard_Suite_Events,
		Legacy_suite_Events,
		Containers_and_folders_Events,
		Files_Events,
		Finder_Basics_Events,
		Finder_items_Events,
		Window_classes_Events,
		Type_Definitions_Events,
		Enumerations_Events,
		aetools.TalkTo):
	_signature = 'MACS'

	_moduleName = 'Finder'

