| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | """Suite Standard Suite: Common terms for most applications
 | 
					
						
							|  |  |  | Level 1, version 1 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5 | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | AETE/AEUT resource version 1/0, language 0, script 0 | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import aetools | 
					
						
							|  |  |  | import MacOS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _code = 'CoRe' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-10-23 22:23:02 +00:00
										 |  |  | from StdSuites.Standard_Suite import * | 
					
						
							|  |  |  | class Standard_Suite_Events(Standard_Suite_Events): | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     _argmap_close = { | 
					
						
							|  |  |  |         'saving' : 'savo', | 
					
						
							|  |  |  |         'saving_in' : 'kfil', | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def close(self, _object, _attributes={}, **_arguments): | 
					
						
							|  |  |  |         """close: close an object
 | 
					
						
							|  |  |  |         Required argument: the object to close | 
					
						
							|  |  |  |         Keyword argument saving: specifies whether or not changes should be saved before closing | 
					
						
							|  |  |  |         Keyword argument saving_in: the file in which to save the object | 
					
						
							|  |  |  |         Keyword argument _attributes: AppleEvent attribute dictionary | 
					
						
							|  |  |  |         """
 | 
					
						
							|  |  |  |         _code = 'core' | 
					
						
							|  |  |  |         _subcode = 'clos' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         aetools.keysubst(_arguments, self._argmap_close) | 
					
						
							|  |  |  |         _arguments['----'] = _object | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         aetools.enumsubst(_arguments, 'savo', _Enum_savo) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         _reply, _arguments, _attributes = self.send(_code, _subcode, | 
					
						
							|  |  |  |                 _arguments, _attributes) | 
					
						
							|  |  |  |         if _arguments.get('errn', 0): | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |             raise aetools.Error(aetools.decodeerror(_arguments)) | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         # XXXX Optionally decode result | 
					
						
							|  |  |  |         if _arguments.has_key('----'): | 
					
						
							|  |  |  |             return _arguments['----'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     _argmap_count = { | 
					
						
							|  |  |  |         'each' : 'kocl', | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def count(self, _object, _attributes={}, **_arguments): | 
					
						
							|  |  |  |         """count: return the number of elements of a particular class within an object
 | 
					
						
							|  |  |  |         Required argument: the object whose elements are to be counted | 
					
						
							|  |  |  |         Keyword argument each: the class of the elements to be counted. Keyword 'each' is optional in AppleScript | 
					
						
							|  |  |  |         Keyword argument _attributes: AppleEvent attribute dictionary | 
					
						
							|  |  |  |         Returns: the number of elements | 
					
						
							|  |  |  |         """
 | 
					
						
							|  |  |  |         _code = 'core' | 
					
						
							|  |  |  |         _subcode = 'cnte' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         aetools.keysubst(_arguments, self._argmap_count) | 
					
						
							|  |  |  |         _arguments['----'] = _object | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         _reply, _arguments, _attributes = self.send(_code, _subcode, | 
					
						
							|  |  |  |                 _arguments, _attributes) | 
					
						
							|  |  |  |         if _arguments.get('errn', 0): | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |             raise aetools.Error(aetools.decodeerror(_arguments)) | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         # XXXX Optionally decode result | 
					
						
							|  |  |  |         if _arguments.has_key('----'): | 
					
						
							|  |  |  |             return _arguments['----'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     _argmap_get = { | 
					
						
							|  |  |  |         'as' : 'rtyp', | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def get(self, _object, _attributes={}, **_arguments): | 
					
						
							|  |  |  |         """get: get the data for an object
 | 
					
						
							|  |  |  |         Required argument: the object whose data is to be returned | 
					
						
							|  |  |  |         Keyword argument as: the desired types for the data, in order of preference | 
					
						
							|  |  |  |         Keyword argument _attributes: AppleEvent attribute dictionary | 
					
						
							|  |  |  |         Returns: The data from the object | 
					
						
							|  |  |  |         """
 | 
					
						
							|  |  |  |         _code = 'core' | 
					
						
							|  |  |  |         _subcode = 'getd' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         aetools.keysubst(_arguments, self._argmap_get) | 
					
						
							|  |  |  |         _arguments['----'] = _object | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         _reply, _arguments, _attributes = self.send(_code, _subcode, | 
					
						
							|  |  |  |                 _arguments, _attributes) | 
					
						
							|  |  |  |         if _arguments.get('errn', 0): | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |             raise aetools.Error(aetools.decodeerror(_arguments)) | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         # XXXX Optionally decode result | 
					
						
							|  |  |  |         if _arguments.has_key('----'): | 
					
						
							|  |  |  |             return _arguments['----'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     _argmap_make = { | 
					
						
							|  |  |  |         'new' : 'kocl', | 
					
						
							|  |  |  |         'as' : 'rtyp', | 
					
						
							|  |  |  |         'at' : 'insh', | 
					
						
							|  |  |  |         'with_data' : 'data', | 
					
						
							|  |  |  |         'with_properties' : 'prdt', | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def make(self, _no_object=None, _attributes={}, **_arguments): | 
					
						
							|  |  |  |         """make: make a new element
 | 
					
						
							|  |  |  |         Keyword argument new: the class of the new element\xd1keyword 'new' is optional in AppleScript | 
					
						
							|  |  |  |         Keyword argument as: the desired types for the data, in order of preference | 
					
						
							|  |  |  |         Keyword argument at: the location at which to insert the element | 
					
						
							|  |  |  |         Keyword argument with_data: the initial data for the element | 
					
						
							|  |  |  |         Keyword argument with_properties: the initial values for the properties of the element | 
					
						
							|  |  |  |         Keyword argument _attributes: AppleEvent attribute dictionary | 
					
						
							|  |  |  |         Returns: to the new object(s) | 
					
						
							|  |  |  |         """
 | 
					
						
							|  |  |  |         _code = 'core' | 
					
						
							|  |  |  |         _subcode = 'crel' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         aetools.keysubst(_arguments, self._argmap_make) | 
					
						
							| 
									
										
											  
											
												Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
  r62021 | benjamin.peterson | 2008-03-28 18:11:01 -0500 (Fri, 28 Mar 2008) | 2 lines
  NIL => NULL
........
  r62029 | amaury.forgeotdarc | 2008-03-28 20:42:31 -0500 (Fri, 28 Mar 2008) | 3 lines
  Correctly call the base class tearDown();
  otherwise running test_logging twice produce the errors we see on all buildbots
........
  r62035 | raymond.hettinger | 2008-03-29 05:42:07 -0500 (Sat, 29 Mar 2008) | 1 line
  Be explicit about what efficient means.
........
  r62036 | georg.brandl | 2008-03-29 06:46:18 -0500 (Sat, 29 Mar 2008) | 2 lines
  Fix capitalization.
........
  r62037 | amaury.forgeotdarc | 2008-03-29 07:42:54 -0500 (Sat, 29 Mar 2008) | 5 lines
  lib2to3 should install a logging handler only when run as a main program,
  not when used as a library.
  This may please the buildbots, which fail when test_lib2to3 is run before test_logging.
........
  r62043 | benjamin.peterson | 2008-03-29 10:24:25 -0500 (Sat, 29 Mar 2008) | 3 lines
  #2503 make singletons compared with "is" not == or !=
  Thanks to Wummel for the patch
........
  r62044 | gerhard.haering | 2008-03-29 14:11:52 -0500 (Sat, 29 Mar 2008) | 2 lines
  Documented the lastrowid attribute.
........
  r62052 | benjamin.peterson | 2008-03-30 14:35:10 -0500 (Sun, 30 Mar 2008) | 2 lines
  Updated README regarding doc formats
........
  r62053 | georg.brandl | 2008-03-30 14:41:39 -0500 (Sun, 30 Mar 2008) | 2 lines
  The other download formats will be available for 2.6 too.
........
											
										 
											2008-03-31 01:51:45 +00:00
										 |  |  |         if _no_object is not None: raise TypeError('No direct arg expected') | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         _reply, _arguments, _attributes = self.send(_code, _subcode, | 
					
						
							|  |  |  |                 _arguments, _attributes) | 
					
						
							|  |  |  |         if _arguments.get('errn', 0): | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |             raise aetools.Error(aetools.decodeerror(_arguments)) | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         # XXXX Optionally decode result | 
					
						
							|  |  |  |         if _arguments.has_key('----'): | 
					
						
							|  |  |  |             return _arguments['----'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def select(self, _object=None, _attributes={}, **_arguments): | 
					
						
							|  |  |  |         """select: select the specified object
 | 
					
						
							|  |  |  |         Required argument: the object to select | 
					
						
							|  |  |  |         Keyword argument _attributes: AppleEvent attribute dictionary | 
					
						
							|  |  |  |         """
 | 
					
						
							|  |  |  |         _code = 'misc' | 
					
						
							|  |  |  |         _subcode = 'slct' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |         if _arguments: raise TypeError('No optional args expected') | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         _arguments['----'] = _object | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         _reply, _arguments, _attributes = self.send(_code, _subcode, | 
					
						
							|  |  |  |                 _arguments, _attributes) | 
					
						
							|  |  |  |         if _arguments.get('errn', 0): | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |             raise aetools.Error(aetools.decodeerror(_arguments)) | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         # XXXX Optionally decode result | 
					
						
							|  |  |  |         if _arguments.has_key('----'): | 
					
						
							|  |  |  |             return _arguments['----'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     _argmap_set = { | 
					
						
							|  |  |  |         'to' : 'data', | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def set(self, _object, _attributes={}, **_arguments): | 
					
						
							|  |  |  |         """set: set an object's data
 | 
					
						
							|  |  |  |         Required argument: the object to change | 
					
						
							|  |  |  |         Keyword argument to: the new value | 
					
						
							|  |  |  |         Keyword argument _attributes: AppleEvent attribute dictionary | 
					
						
							|  |  |  |         """
 | 
					
						
							|  |  |  |         _code = 'core' | 
					
						
							|  |  |  |         _subcode = 'setd' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         aetools.keysubst(_arguments, self._argmap_set) | 
					
						
							|  |  |  |         _arguments['----'] = _object | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         _reply, _arguments, _attributes = self.send(_code, _subcode, | 
					
						
							|  |  |  |                 _arguments, _attributes) | 
					
						
							|  |  |  |         if _arguments.get('errn', 0): | 
					
						
							| 
									
										
										
										
											2007-08-23 00:01:55 +00:00
										 |  |  |             raise aetools.Error(aetools.decodeerror(_arguments)) | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |         # XXXX Optionally decode result | 
					
						
							|  |  |  |         if _arguments.has_key('----'): | 
					
						
							|  |  |  |             return _arguments['----'] | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class application(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """application - an application program """ | 
					
						
							|  |  |  |     want = 'capp' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_user_interaction(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """user interaction - user interaction level """ | 
					
						
							|  |  |  |     which = 'inte' | 
					
						
							|  |  |  |     want = 'Inte' | 
					
						
							| 
									
										
										
										
											2003-06-13 14:31:19 +00:00
										 |  |  | user_interaction = _Prop_user_interaction() | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | #        element 'cwin' as ['indx', 'name', 'rang'] | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | #        element 'docu' as ['indx', 'name', 'rang'] | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | class character(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """character - a character """ | 
					
						
							|  |  |  |     want = 'cha ' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_length(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """length - length in characters of this object """ | 
					
						
							|  |  |  |     which = 'pLen' | 
					
						
							|  |  |  |     want = 'long' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_offset(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """offset - offset of a text object from the beginning of the document (first char has offset 1) """ | 
					
						
							|  |  |  |     which = 'pOff' | 
					
						
							|  |  |  |     want = 'long' | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | class insertion_point(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """insertion point - An insertion location between two objects """ | 
					
						
							|  |  |  |     want = 'cins' | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | class line(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """line - lines of text """ | 
					
						
							|  |  |  |     want = 'clin' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_index(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """index - index of a line object from the beginning of the document (first line has index 1) """ | 
					
						
							|  |  |  |     which = 'pidx' | 
					
						
							|  |  |  |     want = 'long' | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | #        element 'cha ' as ['indx', 'rang', 'rele'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | lines = line | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class selection_2d_object(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """selection-object - the selection visible to the user """ | 
					
						
							|  |  |  |     want = 'csel' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_contents(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """contents - the contents of the selection """ | 
					
						
							|  |  |  |     which = 'pcnt' | 
					
						
							|  |  |  |     want = 'type' | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | #        element 'cha ' as ['indx', 'rele', 'rang', 'test'] | 
					
						
							|  |  |  | #        element 'clin' as ['indx', 'rang', 'rele'] | 
					
						
							|  |  |  | #        element 'ctxt' as ['rang'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class text(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """text - Text """ | 
					
						
							|  |  |  |     want = 'ctxt' | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | #        element 'cha ' as ['indx', 'rele', 'rang'] | 
					
						
							|  |  |  | #        element 'cins' as ['rele'] | 
					
						
							|  |  |  | #        element 'clin' as ['indx', 'rang', 'rele'] | 
					
						
							|  |  |  | #        element 'ctxt' as ['rang'] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class window(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """window - A window """ | 
					
						
							|  |  |  |     want = 'cwin' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_bounds(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """bounds - the boundary rectangle for the window """ | 
					
						
							|  |  |  |     which = 'pbnd' | 
					
						
							|  |  |  |     want = 'qdrt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_document(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """document - the document that owns this window """ | 
					
						
							|  |  |  |     which = 'docu' | 
					
						
							|  |  |  |     want = 'docu' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_name(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """name - the title of the window """ | 
					
						
							|  |  |  |     which = 'pnam' | 
					
						
							|  |  |  |     want = 'itxt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_position(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """position - upper left coordinates of window """ | 
					
						
							|  |  |  |     which = 'ppos' | 
					
						
							|  |  |  |     want = 'QDpt' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_visible(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """visible - is the window visible? """ | 
					
						
							|  |  |  |     which = 'pvis' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_zoomed(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """zoomed - Is the window zoomed? """ | 
					
						
							|  |  |  |     which = 'pzum' | 
					
						
							|  |  |  |     want = 'bool' | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | windows = window | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | class document(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """document - a document """ | 
					
						
							|  |  |  |     want = 'docu' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_file_permissions(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """file permissions - the file permissions for the document """ | 
					
						
							|  |  |  |     which = 'PERM' | 
					
						
							|  |  |  |     want = 'PERM' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_kind(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """kind - the kind of document """ | 
					
						
							|  |  |  |     which = 'DKND' | 
					
						
							|  |  |  |     want = 'DKND' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_location(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """location - the file of the document """ | 
					
						
							|  |  |  |     which = 'FILE' | 
					
						
							|  |  |  |     want = 'fss ' | 
					
						
							| 
									
										
										
										
											2003-04-01 22:05:14 +00:00
										 |  |  | class _Prop_window(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """window - the window of the document. """ | 
					
						
							|  |  |  |     which = 'cwin' | 
					
						
							|  |  |  |     want = 'cwin' | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | documents = document | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class files(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     """files - Every file """ | 
					
						
							|  |  |  |     want = 'file' | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | file = files | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | application._superclassnames = [] | 
					
						
							|  |  |  | application._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'user_interaction' : _Prop_user_interaction, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | application._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'document' : document, | 
					
						
							|  |  |  |     'window' : window, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | character._superclassnames = [] | 
					
						
							|  |  |  | character._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'length' : _Prop_length, | 
					
						
							|  |  |  |     'offset' : _Prop_offset, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | character._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | insertion_point._superclassnames = [] | 
					
						
							|  |  |  | insertion_point._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'length' : _Prop_length, | 
					
						
							|  |  |  |     'offset' : _Prop_offset, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | insertion_point._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | line._superclassnames = [] | 
					
						
							|  |  |  | line._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'index' : _Prop_index, | 
					
						
							|  |  |  |     'length' : _Prop_length, | 
					
						
							|  |  |  |     'offset' : _Prop_offset, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | line._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'character' : character, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | selection_2d_object._superclassnames = [] | 
					
						
							|  |  |  | selection_2d_object._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'contents' : _Prop_contents, | 
					
						
							|  |  |  |     'length' : _Prop_length, | 
					
						
							|  |  |  |     'offset' : _Prop_offset, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | selection_2d_object._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'character' : character, | 
					
						
							|  |  |  |     'line' : line, | 
					
						
							|  |  |  |     'text' : text, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | text._superclassnames = [] | 
					
						
							|  |  |  | text._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'length' : _Prop_length, | 
					
						
							|  |  |  |     'offset' : _Prop_offset, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | text._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'character' : character, | 
					
						
							|  |  |  |     'insertion_point' : insertion_point, | 
					
						
							|  |  |  |     'line' : line, | 
					
						
							|  |  |  |     'text' : text, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | window._superclassnames = [] | 
					
						
							|  |  |  | window._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'bounds' : _Prop_bounds, | 
					
						
							|  |  |  |     'document' : _Prop_document, | 
					
						
							|  |  |  |     'index' : _Prop_index, | 
					
						
							|  |  |  |     'name' : _Prop_name, | 
					
						
							|  |  |  |     'position' : _Prop_position, | 
					
						
							|  |  |  |     'visible' : _Prop_visible, | 
					
						
							|  |  |  |     'zoomed' : _Prop_zoomed, | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | window._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | document._superclassnames = [] | 
					
						
							|  |  |  | document._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'file_permissions' : _Prop_file_permissions, | 
					
						
							|  |  |  |     'index' : _Prop_index, | 
					
						
							|  |  |  |     'kind' : _Prop_kind, | 
					
						
							|  |  |  |     'location' : _Prop_location, | 
					
						
							|  |  |  |     'name' : _Prop_name, | 
					
						
							|  |  |  |     'window' : _Prop_window, | 
					
						
							| 
									
										
										
										
											2003-03-30 22:41:53 +00:00
										 |  |  | } | 
					
						
							|  |  |  | document._privelemdict = { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | files._superclassnames = [] | 
					
						
							|  |  |  | files._privpropdict = { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | files._privelemdict = { | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Indices of types declared in this module | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | _classdeclarations = { | 
					
						
							| 
									
										
										
										
											2003-04-12 22:27:11 +00:00
										 |  |  |     'capp' : application, | 
					
						
							|  |  |  |     'cha ' : character, | 
					
						
							|  |  |  |     'cins' : insertion_point, | 
					
						
							|  |  |  |     'clin' : line, | 
					
						
							|  |  |  |     'csel' : selection_2d_object, | 
					
						
							|  |  |  |     'ctxt' : text, | 
					
						
							|  |  |  |     'cwin' : window, | 
					
						
							|  |  |  |     'docu' : document, | 
					
						
							|  |  |  |     'file' : files, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _propdeclarations = { | 
					
						
							|  |  |  |     'DKND' : _Prop_kind, | 
					
						
							|  |  |  |     'FILE' : _Prop_location, | 
					
						
							|  |  |  |     'PERM' : _Prop_file_permissions, | 
					
						
							|  |  |  |     'cwin' : _Prop_window, | 
					
						
							|  |  |  |     'docu' : _Prop_document, | 
					
						
							|  |  |  |     'inte' : _Prop_user_interaction, | 
					
						
							|  |  |  |     'pLen' : _Prop_length, | 
					
						
							|  |  |  |     'pOff' : _Prop_offset, | 
					
						
							|  |  |  |     'pbnd' : _Prop_bounds, | 
					
						
							|  |  |  |     'pcnt' : _Prop_contents, | 
					
						
							|  |  |  |     'pidx' : _Prop_index, | 
					
						
							|  |  |  |     'pnam' : _Prop_name, | 
					
						
							|  |  |  |     'ppos' : _Prop_position, | 
					
						
							|  |  |  |     'pvis' : _Prop_visible, | 
					
						
							|  |  |  |     'pzum' : _Prop_zoomed, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _compdeclarations = { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _enumdeclarations = { | 
					
						
							| 
									
										
										
										
											2000-08-17 22:16:11 +00:00
										 |  |  | } |