ยปCore Development>Code coverage>Lib/plat-mac/lib-scriptpackages/Finder/Files.py

Python code coverage for Lib/plat-mac/lib-scriptpackages/Finder/Files.py

#countcontent
1n/a"""Suite Files: Classes representing files
2n/aLevel 1, version 1
3n/a
4n/aGenerated from /System/Library/CoreServices/Finder.app
5n/aAETE/AEUT resource version 0/144, language 0, script 0
6n/a"""
7n/a
8n/aimport aetools
9n/aimport MacOS
10n/a
11n/a_code = 'fndr'
12n/a
13n/aclass Files_Events:
14n/a
15n/a pass
16n/a
17n/a
18n/aclass alias_file(aetools.ComponentItem):
19n/a """alias file - An alias file (created with \xd2Make Alias\xd3) """
20n/a want = 'alia'
21n/aclass _Prop__3c_Inheritance_3e_(aetools.NProperty):
22n/a """<Inheritance> - inherits some of its properties from the file class """
23n/a which = 'c@#^'
24n/a want = 'file'
25n/aclass _Prop_original_item(aetools.NProperty):
26n/a """original item - the original item pointed to by the alias """
27n/a which = 'orig'
28n/a want = 'obj '
29n/a
30n/aalias_files = alias_file
31n/a
32n/aclass application_file(aetools.ComponentItem):
33n/a """application file - An application's file on disk """
34n/a want = 'appf'
35n/aclass _Prop_accepts_high_level_events(aetools.NProperty):
36n/a """accepts high level events - Is the application high-level event aware? (OBSOLETE: always returns true) """
37n/a which = 'isab'
38n/a want = 'bool'
39n/aclass _Prop_has_scripting_terminology(aetools.NProperty):
40n/a """has scripting terminology - Does the process have a scripting terminology, i.e., can it be scripted? """
41n/a which = 'hscr'
42n/a want = 'bool'
43n/aclass _Prop_minimum_size(aetools.NProperty):
44n/a """minimum size - the smallest memory size with which the application can be launched """
45n/a which = 'mprt'
46n/a want = 'long'
47n/aclass _Prop_opens_in_Classic(aetools.NProperty):
48n/a """opens in Classic - Should the application launch in the Classic environment? """
49n/a which = 'Clsc'
50n/a want = 'bool'
51n/aclass _Prop_preferred_size(aetools.NProperty):
52n/a """preferred size - the memory size with which the application will be launched """
53n/a which = 'appt'
54n/a want = 'long'
55n/aclass _Prop_suggested_size(aetools.NProperty):
56n/a """suggested size - the memory size with which the developer recommends the application be launched """
57n/a which = 'sprt'
58n/a want = 'long'
59n/a
60n/aapplication_files = application_file
61n/a
62n/aclass clipping(aetools.ComponentItem):
63n/a """clipping - A clipping """
64n/a want = 'clpf'
65n/aclass _Prop_clipping_window(aetools.NProperty):
66n/a """clipping window - (NOT AVAILABLE YET) the clipping window for this clipping """
67n/a which = 'lwnd'
68n/a want = 'obj '
69n/a
70n/aclippings = clipping
71n/a
72n/aclass document_file(aetools.ComponentItem):
73n/a """document file - A document file """
74n/a want = 'docf'
75n/a
76n/adocument_files = document_file
77n/a
78n/aclass file(aetools.ComponentItem):
79n/a """file - A file """
80n/a want = 'file'
81n/aclass _Prop_creator_type(aetools.NProperty):
82n/a """creator type - the OSType identifying the application that created the item """
83n/a which = 'fcrt'
84n/a want = 'type'
85n/aclass _Prop_file_type(aetools.NProperty):
86n/a """file type - the OSType identifying the type of data contained in the item """
87n/a which = 'asty'
88n/a want = 'type'
89n/aclass _Prop_product_version(aetools.NProperty):
90n/a """product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
91n/a which = 'ver2'
92n/a want = 'utxt'
93n/aclass _Prop_stationery(aetools.NProperty):
94n/a """stationery - Is the file a stationery pad? """
95n/a which = 'pspd'
96n/a want = 'bool'
97n/aclass _Prop_version(aetools.NProperty):
98n/a """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
99n/a which = 'vers'
100n/a want = 'utxt'
101n/a
102n/afiles = file
103n/a
104n/aclass internet_location_file(aetools.ComponentItem):
105n/a """internet location file - An file containing an internet location """
106n/a want = 'inlf'
107n/aclass _Prop_location(aetools.NProperty):
108n/a """location - the internet location """
109n/a which = 'iloc'
110n/a want = 'utxt'
111n/a
112n/ainternet_location_files = internet_location_file
113n/a
114n/aclass package(aetools.ComponentItem):
115n/a """package - A package """
116n/a want = 'pack'
117n/a
118n/apackages = package
119n/aalias_file._superclassnames = ['file']
120n/aalias_file._privpropdict = {
121n/a '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
122n/a 'original_item' : _Prop_original_item,
123n/a}
124n/aalias_file._privelemdict = {
125n/a}
126n/aapplication_file._superclassnames = ['file']
127n/aapplication_file._privpropdict = {
128n/a '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
129n/a 'accepts_high_level_events' : _Prop_accepts_high_level_events,
130n/a 'has_scripting_terminology' : _Prop_has_scripting_terminology,
131n/a 'minimum_size' : _Prop_minimum_size,
132n/a 'opens_in_Classic' : _Prop_opens_in_Classic,
133n/a 'preferred_size' : _Prop_preferred_size,
134n/a 'suggested_size' : _Prop_suggested_size,
135n/a}
136n/aapplication_file._privelemdict = {
137n/a}
138n/aclipping._superclassnames = ['file']
139n/aclipping._privpropdict = {
140n/a '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
141n/a 'clipping_window' : _Prop_clipping_window,
142n/a}
143n/aclipping._privelemdict = {
144n/a}
145n/adocument_file._superclassnames = ['file']
146n/adocument_file._privpropdict = {
147n/a '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
148n/a}
149n/adocument_file._privelemdict = {
150n/a}
151n/aimport Finder_items
152n/afile._superclassnames = ['item']
153n/afile._privpropdict = {
154n/a '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
155n/a 'creator_type' : _Prop_creator_type,
156n/a 'file_type' : _Prop_file_type,
157n/a 'product_version' : _Prop_product_version,
158n/a 'stationery' : _Prop_stationery,
159n/a 'version' : _Prop_version,
160n/a}
161n/afile._privelemdict = {
162n/a}
163n/ainternet_location_file._superclassnames = ['file']
164n/ainternet_location_file._privpropdict = {
165n/a '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
166n/a 'location' : _Prop_location,
167n/a}
168n/ainternet_location_file._privelemdict = {
169n/a}
170n/apackage._superclassnames = ['item']
171n/apackage._privpropdict = {
172n/a '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
173n/a}
174n/apackage._privelemdict = {
175n/a}
176n/a
177n/a#
178n/a# Indices of types declared in this module
179n/a#
180n/a_classdeclarations = {
181n/a 'alia' : alias_file,
182n/a 'appf' : application_file,
183n/a 'clpf' : clipping,
184n/a 'docf' : document_file,
185n/a 'file' : file,
186n/a 'inlf' : internet_location_file,
187n/a 'pack' : package,
188n/a}
189n/a
190n/a_propdeclarations = {
191n/a 'Clsc' : _Prop_opens_in_Classic,
192n/a 'appt' : _Prop_preferred_size,
193n/a 'asty' : _Prop_file_type,
194n/a 'c@#^' : _Prop__3c_Inheritance_3e_,
195n/a 'fcrt' : _Prop_creator_type,
196n/a 'hscr' : _Prop_has_scripting_terminology,
197n/a 'iloc' : _Prop_location,
198n/a 'isab' : _Prop_accepts_high_level_events,
199n/a 'lwnd' : _Prop_clipping_window,
200n/a 'mprt' : _Prop_minimum_size,
201n/a 'orig' : _Prop_original_item,
202n/a 'pspd' : _Prop_stationery,
203n/a 'sprt' : _Prop_suggested_size,
204n/a 'ver2' : _Prop_product_version,
205n/a 'vers' : _Prop_version,
206n/a}
207n/a
208n/a_compdeclarations = {
209n/a}
210n/a
211n/a_enumdeclarations = {
212n/a}