diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-03 15:16:20 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-03 15:16:20 +0000 |
commit | 5976fdfe42ecdee07df0621d9323c2790b23eb5d (patch) | |
tree | e399aa4b8bb7c6d5d2eb8267cf9a2904370a046a /sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior | |
parent | 1665b57e14f8637569e52f8752cc9dd1672a5cfb (diff) |
remove stuff
Diffstat (limited to 'sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior')
5 files changed, 0 insertions, 3714 deletions
diff --git a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py b/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py deleted file mode 100644 index 0fd562b95..000000000 --- a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py +++ /dev/null @@ -1,682 +0,0 @@ -"""Suite CodeWarrior suite: Terms for scripting the CodeWarrior IDE -Level 0, version 0 - -Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5 -AETE/AEUT resource version 1/0, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'CWIE' - -class CodeWarrior_suite_Events: - - _argmap_add = { - 'new' : 'kocl', - 'with_data' : 'data', - 'to_targets' : 'TTGT', - 'to_group' : 'TGRP', - } - - def add(self, _object, _attributes={}, **_arguments): - """add: add elements to a project or target - Required argument: an AE object reference - Keyword argument new: the class of the new element or elements to add - Keyword argument with_data: the initial data for the element or elements - Keyword argument to_targets: the targets to which the new element or elements will be added - Keyword argument to_group: the group to which the new element or elements will be added - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'ADDF' - - aetools.keysubst(_arguments, self._argmap_add) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def build(self, _no_object=None, _attributes={}, **_arguments): - """build: build a project or target (equivalent of the Make menu command) - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'MAKE' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def check(self, _object=None, _attributes={}, **_arguments): - """check: check the syntax of a file in a project or target - Required argument: the file or files to be checked - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'CHEK' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def compile_file(self, _object=None, _attributes={}, **_arguments): - """compile file: compile a file in a project or target - Required argument: the file or files to be compiled - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'COMP' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def disassemble_file(self, _object=None, _attributes={}, **_arguments): - """disassemble file: disassemble a file in a project or target - Required argument: the file or files to be disassembled - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'DASM' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_export = { - 'in_' : 'kfil', - } - - def export(self, _no_object=None, _attributes={}, **_arguments): - """export: Export the project file as an XML file - Keyword argument in_: the XML file in which to export the project - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'EXPT' - - aetools.keysubst(_arguments, self._argmap_export) - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def remove_object_code(self, _no_object=None, _attributes={}, **_arguments): - """remove object code: remove object code from a project or target - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'RMOB' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def remove_target_files(self, _object, _attributes={}, **_arguments): - """remove target files: remove files from a target - Required argument: an AE object reference - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'RMFL' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def run_target(self, _no_object=None, _attributes={}, **_arguments): - """run target: run a project or target - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'RUN ' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def touch_file(self, _object=None, _attributes={}, **_arguments): - """touch file: touch a file in a project or target for compilation - Required argument: the file or files to be touched - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'TOCH' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def update(self, _no_object=None, _attributes={}, **_arguments): - """update: bring a project or target up to date - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'CWIE' - _subcode = 'UP2D' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - -class single_class_browser(aetools.ComponentItem): - """single class browser - a single class browser """ - want = '1BRW' -class _Prop_inherits(aetools.NProperty): - """inherits - all properties and elements of the given class are inherited by this class. """ - which = 'c@#^' - want = 'TXTD' - -single_class_browsers = single_class_browser - -class single_class_hierarchy(aetools.ComponentItem): - """single class hierarchy - a single class hierarchy document """ - want = '1HIR' - -single_class_hierarchies = single_class_hierarchy - -class class_browser(aetools.ComponentItem): - """class browser - a class browser """ - want = 'BROW' - -class_browsers = class_browser - -class file_compare_document(aetools.ComponentItem): - """file compare document - a file compare document """ - want = 'COMP' - -file_compare_documents = file_compare_document - -class catalog_document(aetools.ComponentItem): - """catalog document - a browser catalog document """ - want = 'CTLG' - -catalog_documents = catalog_document - -class editor_document(aetools.ComponentItem): - """editor document - an editor document """ - want = 'EDIT' - -editor_documents = editor_document - -class class_hierarchy(aetools.ComponentItem): - """class hierarchy - a class hierarchy document """ - want = 'HIER' - -class_hierarchies = class_hierarchy - -class project_inspector(aetools.ComponentItem): - """project inspector - the project inspector """ - want = 'INSP' - -project_inspectors = project_inspector - -class message_document(aetools.ComponentItem): - """message document - a message document """ - want = 'MSSG' - -message_documents = message_document - -class build_progress_document(aetools.ComponentItem): - """build progress document - a build progress document """ - want = 'PRGS' - -build_progress_documents = build_progress_document - -class project_document(aetools.ComponentItem): - """project document - a project document """ - want = 'PRJD' -class _Prop_current_target(aetools.NProperty): - """current target - the current target """ - which = 'CURT' - want = 'TRGT' -# element 'TRGT' as ['indx', 'name', 'test', 'rang'] - -project_documents = project_document - -class subtarget(aetools.ComponentItem): - """subtarget - a target that is prerequisite for another target """ - want = 'SBTG' -class _Prop_link_against_output(aetools.NProperty): - """link against output - is the output of this subtarget linked into its dependent target? """ - which = 'LNKO' - want = 'bool' -class _Prop_target(aetools.NProperty): - """target - the target that is dependent on this subtarget """ - which = 'TrgT' - want = 'TRGT' - -subtargets = subtarget - -class target_file(aetools.ComponentItem): - """target file - a source or header file in a target """ - want = 'SRCF' -class _Prop_code_size(aetools.NProperty): - """code size - the size of the code (in bytes) produced by compiling this source file """ - which = 'CSZE' - want = 'long' -class _Prop_compiled_date(aetools.NProperty): - """compiled date - the date and this source file was last compiled """ - which = 'CMPD' - want = 'ldt ' -class _Prop_data_size(aetools.NProperty): - """data size - the size of the date (in bytes) produced by compiling this source file """ - which = 'DSZE' - want = 'long' -class _Prop_debug(aetools.NProperty): - """debug - is debugging information generated for this source file? """ - which = 'DBUG' - want = 'bool' -class _Prop_dependents(aetools.NProperty): - """dependents - the source files that need this source file in order to build """ - which = 'DPND' - want = 'list' -class _Prop_id(aetools.NProperty): - """id - the unique ID number of the target file """ - which = 'ID ' - want = 'long' -class _Prop_init_before(aetools.NProperty): - """init before - is the \xd4initialize before\xd5 flag set for this shared library? """ - which = 'INIT' - want = 'bool' -class _Prop_link_index(aetools.NProperty): - """link index - the index of the source file in its target\xd5s link order (-1 if source file is not in link order) """ - which = 'LIDX' - want = 'long' -class _Prop_linked(aetools.NProperty): - """linked - is the source file in the link order of its target? """ - which = 'LINK' - want = 'bool' -class _Prop_location(aetools.NProperty): - """location - the location of the target file on disk """ - which = 'FILE' - want = 'fss ' -class _Prop_merge_output(aetools.NProperty): - """merge output - is this shared library merged into another code fragment? """ - which = 'MRGE' - want = 'bool' -class _Prop_modified_date(aetools.NProperty): - """modified date - the date and time this source file was last modified """ - which = 'MODD' - want = 'ldt ' -class _Prop_path(aetools.NProperty): - """path - the path of the source file on disk """ - which = 'Path' - want = 'itxt' -class _Prop_prerequisites(aetools.NProperty): - """prerequisites - the source files needed to build this source file """ - which = 'PRER' - want = 'list' -class _Prop_type(aetools.NProperty): - """type - the type of source file """ - which = 'FTYP' - want = 'FTYP' -class _Prop_weak_link(aetools.NProperty): - """weak link - is this shared library linked weakly? """ - which = 'WEAK' - want = 'bool' - -target_files = target_file - -class symbol_browser(aetools.ComponentItem): - """symbol browser - a symbol browser """ - want = 'SYMB' - -symbol_browsers = symbol_browser - -class ToolServer_worksheet(aetools.ComponentItem): - """ToolServer worksheet - a ToolServer worksheet """ - want = 'TOOL' - -ToolServer_worksheets = ToolServer_worksheet - -class target(aetools.ComponentItem): - """target - a target in a project """ - want = 'TRGT' -class _Prop_name(aetools.NProperty): - """name - """ - which = 'pnam' - want = 'itxt' -class _Prop_project_document(aetools.NProperty): - """project document - the project document that contains this target """ - which = 'PrjD' - want = 'PRJD' -# element 'SBTG' as ['indx', 'test', 'rang'] -# element 'SRCF' as ['indx', 'test', 'rang'] - -targets = target - -class text_document(aetools.ComponentItem): - """text document - a document that contains text """ - want = 'TXTD' -class _Prop_modified(aetools.NProperty): - """modified - Has the document been modified since the last save? """ - which = 'imod' - want = 'bool' -class _Prop_selection(aetools.NProperty): - """selection - the selection visible to the user """ - which = 'sele' - want = 'csel' -# element 'cha ' as ['indx', 'rele', 'rang', 'test'] -# element 'cins' as ['rele'] -# element 'clin' as ['indx', 'rang', 'rele'] -# element 'ctxt' as ['rang'] - -text_documents = text_document -single_class_browser._superclassnames = ['text_document'] -single_class_browser._privpropdict = { - 'inherits' : _Prop_inherits, -} -single_class_browser._privelemdict = { -} -import Standard_Suite -single_class_hierarchy._superclassnames = ['document'] -single_class_hierarchy._privpropdict = { - 'inherits' : _Prop_inherits, -} -single_class_hierarchy._privelemdict = { -} -class_browser._superclassnames = ['text_document'] -class_browser._privpropdict = { - 'inherits' : _Prop_inherits, -} -class_browser._privelemdict = { -} -file_compare_document._superclassnames = ['text_document'] -file_compare_document._privpropdict = { - 'inherits' : _Prop_inherits, -} -file_compare_document._privelemdict = { -} -catalog_document._superclassnames = ['text_document'] -catalog_document._privpropdict = { - 'inherits' : _Prop_inherits, -} -catalog_document._privelemdict = { -} -editor_document._superclassnames = ['text_document'] -editor_document._privpropdict = { - 'inherits' : _Prop_inherits, -} -editor_document._privelemdict = { -} -class_hierarchy._superclassnames = ['document'] -class_hierarchy._privpropdict = { - 'inherits' : _Prop_inherits, -} -class_hierarchy._privelemdict = { -} -project_inspector._superclassnames = ['document'] -project_inspector._privpropdict = { - 'inherits' : _Prop_inherits, -} -project_inspector._privelemdict = { -} -message_document._superclassnames = ['text_document'] -message_document._privpropdict = { - 'inherits' : _Prop_inherits, -} -message_document._privelemdict = { -} -build_progress_document._superclassnames = ['document'] -build_progress_document._privpropdict = { - 'inherits' : _Prop_inherits, -} -build_progress_document._privelemdict = { -} -project_document._superclassnames = ['document'] -project_document._privpropdict = { - 'current_target' : _Prop_current_target, - 'inherits' : _Prop_inherits, -} -project_document._privelemdict = { - 'target' : target, -} -subtarget._superclassnames = ['target'] -subtarget._privpropdict = { - 'inherits' : _Prop_inherits, - 'link_against_output' : _Prop_link_against_output, - 'target' : _Prop_target, -} -subtarget._privelemdict = { -} -target_file._superclassnames = [] -target_file._privpropdict = { - 'code_size' : _Prop_code_size, - 'compiled_date' : _Prop_compiled_date, - 'data_size' : _Prop_data_size, - 'debug' : _Prop_debug, - 'dependents' : _Prop_dependents, - 'id' : _Prop_id, - 'init_before' : _Prop_init_before, - 'link_index' : _Prop_link_index, - 'linked' : _Prop_linked, - 'location' : _Prop_location, - 'merge_output' : _Prop_merge_output, - 'modified_date' : _Prop_modified_date, - 'path' : _Prop_path, - 'prerequisites' : _Prop_prerequisites, - 'type' : _Prop_type, - 'weak_link' : _Prop_weak_link, -} -target_file._privelemdict = { -} -symbol_browser._superclassnames = ['text_document'] -symbol_browser._privpropdict = { - 'inherits' : _Prop_inherits, -} -symbol_browser._privelemdict = { -} -ToolServer_worksheet._superclassnames = ['text_document'] -ToolServer_worksheet._privpropdict = { - 'inherits' : _Prop_inherits, -} -ToolServer_worksheet._privelemdict = { -} -target._superclassnames = [] -target._privpropdict = { - 'name' : _Prop_name, - 'project_document' : _Prop_project_document, -} -target._privelemdict = { - 'subtarget' : subtarget, - 'target_file' : target_file, -} -text_document._superclassnames = ['document'] -text_document._privpropdict = { - 'inherits' : _Prop_inherits, - 'modified' : _Prop_modified, - 'selection' : _Prop_selection, -} -text_document._privelemdict = { - 'character' : Standard_Suite.character, - 'insertion_point' : Standard_Suite.insertion_point, - 'line' : Standard_Suite.line, - 'text' : Standard_Suite.text, -} -_Enum_DKND = { - 'project' : 'PRJD', # a project document - 'editor_document' : 'EDIT', # an editor document - 'message' : 'MSSG', # a message document - 'file_compare' : 'COMP', # a file compare document - 'catalog_document' : 'CTLG', # a browser catalog - 'class_browser' : 'BROW', # a class browser document - 'single_class_browser' : '1BRW', # a single class browser document - 'symbol_browser' : 'SYMB', # a symbol browser document - 'class_hierarchy' : 'HIER', # a class hierarchy document - 'single_class_hierarchy' : '1HIR', # a single class hierarchy document - 'project_inspector' : 'INSP', # a project inspector - 'ToolServer_worksheet' : 'TOOL', # the ToolServer worksheet - 'build_progress_document' : 'PRGS', # the build progress window -} - -_Enum_FTYP = { - 'library_file' : 'LIBF', # a library file - 'project_file' : 'PRJF', # a project file - 'resource_file' : 'RESF', # a resource file - 'text_file' : 'TXTF', # a text file - 'unknown_file' : 'UNKN', # unknown file type -} - -_Enum_Inte = { - 'never_interact' : 'eNvr', # never allow user interactions - 'interact_with_self' : 'eInS', # allow user interaction only when an AppleEvent is sent from within CodeWarrior - 'interact_with_local' : 'eInL', # allow user interaction when AppleEvents are sent from applications on the same machine (default) - 'interact_with_all' : 'eInA', # allow user interaction from both local and remote AppleEvents -} - -_Enum_PERM = { - 'read_write' : 'RdWr', # the file is open with read/write permission - 'read_only' : 'Read', # the file is open with read/only permission - 'checked_out_read_write' : 'CkRW', # the file is checked out with read/write permission - 'checked_out_read_only' : 'CkRO', # the file is checked out with read/only permission - 'checked_out_read_modify' : 'CkRM', # the file is checked out with read/modify permission - 'locked' : 'Lock', # the file is locked on disk - 'none' : 'LNNO', # the file is new -} - - -# -# Indices of types declared in this module -# -_classdeclarations = { - '1BRW' : single_class_browser, - '1HIR' : single_class_hierarchy, - 'BROW' : class_browser, - 'COMP' : file_compare_document, - 'CTLG' : catalog_document, - 'EDIT' : editor_document, - 'HIER' : class_hierarchy, - 'INSP' : project_inspector, - 'MSSG' : message_document, - 'PRGS' : build_progress_document, - 'PRJD' : project_document, - 'SBTG' : subtarget, - 'SRCF' : target_file, - 'SYMB' : symbol_browser, - 'TOOL' : ToolServer_worksheet, - 'TRGT' : target, - 'TXTD' : text_document, -} - -_propdeclarations = { - 'CMPD' : _Prop_compiled_date, - 'CSZE' : _Prop_code_size, - 'CURT' : _Prop_current_target, - 'DBUG' : _Prop_debug, - 'DPND' : _Prop_dependents, - 'DSZE' : _Prop_data_size, - 'FILE' : _Prop_location, - 'FTYP' : _Prop_type, - 'ID ' : _Prop_id, - 'INIT' : _Prop_init_before, - 'LIDX' : _Prop_link_index, - 'LINK' : _Prop_linked, - 'LNKO' : _Prop_link_against_output, - 'MODD' : _Prop_modified_date, - 'MRGE' : _Prop_merge_output, - 'PRER' : _Prop_prerequisites, - 'Path' : _Prop_path, - 'PrjD' : _Prop_project_document, - 'TrgT' : _Prop_target, - 'WEAK' : _Prop_weak_link, - 'c@#^' : _Prop_inherits, - 'imod' : _Prop_modified, - 'pnam' : _Prop_name, - 'sele' : _Prop_selection, -} - -_compdeclarations = { -} - -_enumdeclarations = { - 'DKND' : _Enum_DKND, - 'FTYP' : _Enum_FTYP, - 'Inte' : _Enum_Inte, - 'PERM' : _Enum_PERM, -} diff --git a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py b/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py deleted file mode 100644 index 909cdc0fe..000000000 --- a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py +++ /dev/null @@ -1,2373 +0,0 @@ -"""Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell -Level 1, version 1 - -Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5 -AETE/AEUT resource version 1/0, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'MMPR' - -class Metrowerks_Shell_Suite_Events: - - _argmap_Add_Files = { - 'To_Segment' : 'Segm', - } - - def Add_Files(self, _object, _attributes={}, **_arguments): - """Add Files: Add the specified file(s) to the current project - Required argument: List of files to add - Keyword argument To_Segment: Segment number into which to add the file(s) - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Error code for each file added - """ - _code = 'MMPR' - _subcode = 'AddF' - - aetools.keysubst(_arguments, self._argmap_Add_Files) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Check_Syntax = { - 'ExternalEditor' : 'Errs', - } - - def Check_Syntax(self, _object, _attributes={}, **_arguments): - """Check Syntax: Check the syntax of the specified file(s) - Required argument: List of files to check the syntax of - Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller? - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Errors for each file whose syntax was checked - """ - _code = 'MMPR' - _subcode = 'Chek' - - aetools.keysubst(_arguments, self._argmap_Check_Syntax) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Close_Project(self, _no_object=None, _attributes={}, **_arguments): - """Close Project: Close the current project - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'ClsP' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Close_Window = { - 'Saving' : 'savo', - } - - def Close_Window(self, _object, _attributes={}, **_arguments): - """Close Window: Close the windows showing the specified files - Required argument: The files to close - Keyword argument Saving: Whether to save changes to each file before closing its window - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'ClsW' - - aetools.keysubst(_arguments, self._argmap_Close_Window) - _arguments['----'] = _object - - aetools.enumsubst(_arguments, 'savo', _Enum_savo) - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Compile = { - 'ExternalEditor' : 'Errs', - } - - def Compile(self, _object, _attributes={}, **_arguments): - """Compile: Compile the specified file(s) - Required argument: List of files to compile - Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller? - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Errors for each file compiled - """ - _code = 'MMPR' - _subcode = 'Comp' - - aetools.keysubst(_arguments, self._argmap_Compile) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Create_Project = { - 'from_stationery' : 'Tmpl', - } - - def Create_Project(self, _object, _attributes={}, **_arguments): - """Create Project: Create a new project file - Required argument: New project file specifier - Keyword argument from_stationery: undocumented, typecode 'alis' - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'NewP' - - aetools.keysubst(_arguments, self._argmap_Create_Project) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Get_Definition(self, _object, _attributes={}, **_arguments): - """Get Definition: Returns the location(s) of a globally scoped function or data object. - Required argument: undocumented, typecode 'TEXT' - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: undocumented, typecode 'FDef' - """ - _code = 'MMPR' - _subcode = 'GDef' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Get_Open_Documents(self, _no_object=None, _attributes={}, **_arguments): - """Get Open Documents: Returns the list of open documents - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: The list of documents - """ - _code = 'MMPR' - _subcode = 'GDoc' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Get_Preferences = { - 'of' : 'PRec', - 'from_panel' : 'PNam', - } - - def Get_Preferences(self, _no_object=None, _attributes={}, **_arguments): - """Get Preferences: Get the preferences for the current project - Keyword argument of: Names of requested preferences - Keyword argument from_panel: Name of the preference panel - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: The requested preferences - """ - _code = 'MMPR' - _subcode = 'Gref' - - aetools.keysubst(_arguments, self._argmap_Get_Preferences) - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Get_Project_File = { - 'Segment' : 'Segm', - } - - def Get_Project_File(self, _object, _attributes={}, **_arguments): - """Get Project File: Returns a description of a file in the project window. - Required argument: The index of the file within its segment. - Keyword argument Segment: The segment containing the file. - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: undocumented, typecode 'SrcF' - """ - _code = 'MMPR' - _subcode = 'GFil' - - aetools.keysubst(_arguments, self._argmap_Get_Project_File) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Get_Project_Specifier(self, _no_object=None, _attributes={}, **_arguments): - """Get Project Specifier: Return the File Specifier for the current project - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: File Specifier for the current project - """ - _code = 'MMPR' - _subcode = 'GetP' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Get_Segments(self, _no_object=None, _attributes={}, **_arguments): - """Get Segments: Returns a description of each segment in the project. - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: undocumented, typecode 'Seg ' - """ - _code = 'MMPR' - _subcode = 'GSeg' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Get_member_function_names(self, _object, _attributes={}, **_arguments): - """Get member function names: Returns a list containing the names of all the member functions of a class object - Required argument: must be a class object - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: undocumented, typecode 'list' - """ - _code = 'MMPR' - _subcode = 'MbFN' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Get_nonsimple_classes(self, _no_object=None, _attributes={}, **_arguments): - """Get nonsimple classes: Returns an alphabetical list of classes with member functions, bases classes, or subclasses - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: undocumented, typecode 'list' - """ - _code = 'MMPR' - _subcode = 'NsCl' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Goto_Function(self, _object, _attributes={}, **_arguments): - """Goto Function: Goto Specified Function Name - Required argument: undocumented, typecode 'TEXT' - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'GoFn' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Goto_Line(self, _object, _attributes={}, **_arguments): - """Goto Line: Goto Specified Line Number - Required argument: The requested source file line number - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'GoLn' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Is_In_Project(self, _object, _attributes={}, **_arguments): - """Is In Project: Whether or not the specified file(s) is in the current project - Required argument: List of files to check for project membership - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Result code for each file - """ - _code = 'MMPR' - _subcode = 'FInP' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Make_Project = { - 'ExternalEditor' : 'Errs', - } - - def Make_Project(self, _no_object=None, _attributes={}, **_arguments): - """Make Project: Make the current project - Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller? - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Errors that occurred while making the project - """ - _code = 'MMPR' - _subcode = 'Make' - - aetools.keysubst(_arguments, self._argmap_Make_Project) - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Open_browser(self, _object, _attributes={}, **_arguments): - """Open browser: Display a class, member function, or data member object in a single class browser window - Required argument: an AE object reference - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'Brow' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Precompile = { - 'Saving_As' : 'Targ', - 'ExternalEditor' : 'Errs', - } - - def Precompile(self, _object, _attributes={}, **_arguments): - """Precompile: Precompile the specified file to the specified destination file - Required argument: File to precompile - Keyword argument Saving_As: Destination file for precompiled header - Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller? - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Errors for the precompiled file - """ - _code = 'MMPR' - _subcode = 'PreC' - - aetools.keysubst(_arguments, self._argmap_Precompile) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Preprocess = { - 'ExternalEditor' : 'Errs', - } - - def Preprocess(self, _object, _attributes={}, **_arguments): - """Preprocess: Preprocesses the specified file(s) - Required argument: undocumented, typecode 'alis' - Keyword argument ExternalEditor: undocumented, typecode 'bool' - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Errors for each preprocessed file - """ - _code = 'MMPR' - _subcode = 'PreP' - - aetools.keysubst(_arguments, self._argmap_Preprocess) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Remove_Binaries(self, _no_object=None, _attributes={}, **_arguments): - """Remove Binaries: Remove the binary object code from the current project - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'RemB' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Remove_Files(self, _object, _attributes={}, **_arguments): - """Remove Files: Remove the specified file(s) from the current project - Required argument: List of files to remove - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Error code for each file removed - """ - _code = 'MMPR' - _subcode = 'RemF' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Reset_File_Paths(self, _no_object=None, _attributes={}, **_arguments): - """Reset File Paths: Resets access paths for all files belonging to open project. - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'ReFP' - - if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Run_Project = { - 'ExternalEditor' : 'Errs', - 'SourceDebugger' : 'DeBg', - } - - def Run_Project(self, _no_object=None, _attributes={}, **_arguments): - """Run Project: Run the current project - Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller? - Keyword argument SourceDebugger: Run the application under the control of the source-level debugger - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Errors that occurred when running the project - """ - _code = 'MMPR' - _subcode = 'RunP' - - aetools.keysubst(_arguments, self._argmap_Run_Project) - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Save_Error_Window_As(self, _object, _attributes={}, **_arguments): - """Save Error Window As: Saves the Errors & Warnings window as a text file - Required argument: Destination file for Save Message Window As - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'SvMs' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Set_Current_Target(self, _object=None, _attributes={}, **_arguments): - """Set Current Target: Set the current target of a project - Required argument: Name of target - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'STrg' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Set_Default_Project(self, _object, _attributes={}, **_arguments): - """Set Default Project: Set the default project - Required argument: Name of project - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'SDfP' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Set_Modification_Date = { - 'to' : 'MDat', - } - - def Set_Modification_Date(self, _object, _attributes={}, **_arguments): - """Set Modification Date: Changes the internal modification date of the specified file(s) - Required argument: List of files - Keyword argument to: undocumented, typecode 'ldt ' - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Error code for each modified file - """ - _code = 'MMPR' - _subcode = 'SMod' - - aetools.keysubst(_arguments, self._argmap_Set_Modification_Date) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Set_Preferences = { - 'of_panel' : 'PNam', - 'to' : 'PRec', - } - - def Set_Preferences(self, _no_object=None, _attributes={}, **_arguments): - """Set Preferences: Set the preferences for the current project - Keyword argument of_panel: Name of the preference panel - Keyword argument to: Preferences settings - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'Pref' - - aetools.keysubst(_arguments, self._argmap_Set_Preferences) - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Set_Project_File = { - 'to' : 'SrcS', - } - - def Set_Project_File(self, _object, _attributes={}, **_arguments): - """Set Project File: Changes the settings for a given file in the project. - Required argument: The name of the file - Keyword argument to: The new settings for the file - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'SFil' - - aetools.keysubst(_arguments, self._argmap_Set_Project_File) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Set_Segment = { - 'to' : 'Segm', - } - - def Set_Segment(self, _object, _attributes={}, **_arguments): - """Set Segment: Changes the name and attributes of a segment. - Required argument: The segment to change - Keyword argument to: The new name and attributes for the segment. - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'MMPR' - _subcode = 'SSeg' - - aetools.keysubst(_arguments, self._argmap_Set_Segment) - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - def Touch(self, _object, _attributes={}, **_arguments): - """Touch: Force recompilation of the specified file(s) - Required argument: List of files to compile - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Error code for each file touched - """ - _code = 'MMPR' - _subcode = 'Toch' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - _argmap_Update_Project = { - 'ExternalEditor' : 'Errs', - } - - def Update_Project(self, _no_object=None, _attributes={}, **_arguments): - """Update Project: Update the current project - Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller? - Keyword argument _attributes: AppleEvent attribute dictionary - Returns: Errors that occurred while updating the project - """ - _code = 'MMPR' - _subcode = 'UpdP' - - aetools.keysubst(_arguments, self._argmap_Update_Project) - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - -class Browser_Coloring(aetools.ComponentItem): - """Browser Coloring - Colors for Browser symbols. """ - want = 'BRKW' -class _Prop_Browser_Keywords(aetools.NProperty): - """Browser Keywords - Mark Browser symbols with color. """ - which = 'BW00' - want = 'bool' -class _Prop_Classes_Color(aetools.NProperty): - """Classes Color - The color for classes. """ - which = 'BW01' - want = 'cRGB' -class _Prop_Constants_Color(aetools.NProperty): - """Constants Color - The color for constants. """ - which = 'BW02' - want = 'cRGB' -class _Prop_Enums_Color(aetools.NProperty): - """Enums Color - The color for enums. """ - which = 'BW03' - want = 'cRGB' -class _Prop_Functions_Color(aetools.NProperty): - """Functions Color - Set color for functions. """ - which = 'BW04' - want = 'cRGB' -class _Prop_Globals_Color(aetools.NProperty): - """Globals Color - The color for globals """ - which = 'BW05' - want = 'cRGB' -class _Prop_Macros_Color(aetools.NProperty): - """Macros Color - The color for macros. """ - which = 'BW06' - want = 'cRGB' -class _Prop_Template_Commands_in_Menu(aetools.NProperty): - """Template Commands in Menu - Include template commands in context menus """ - which = 'BW10' - want = 'bool' -class _Prop_Templates_Color(aetools.NProperty): - """Templates Color - Set color for templates. """ - which = 'BW07' - want = 'cRGB' -class _Prop_Typedefs_Color(aetools.NProperty): - """Typedefs Color - The color for typedefs. """ - which = 'BW08' - want = 'cRGB' - -class Build_Settings(aetools.ComponentItem): - """Build Settings - Build Settings preferences. """ - want = 'BSTG' -class _Prop_Build_Before_Running(aetools.NProperty): - """Build Before Running - Build the target before running. """ - which = 'BX04' - want = 'BXbr' -class _Prop_Compiler_Thread_Stack_Size(aetools.NProperty): - """Compiler Thread Stack Size - Compiler Thread Stack Size """ - which = 'BX06' - want = 'long' -class _Prop_Completion_Sound(aetools.NProperty): - """Completion Sound - Play a sound when finished a Bring Up To Date or Make command. """ - which = 'BX01' - want = 'bool' -class _Prop_Failure_Sound(aetools.NProperty): - """Failure Sound - The sound CodeWarrior plays when it cannot finish a Bring Up To Date or Make command. """ - which = 'BX03' - want = 'TEXT' -class _Prop_Include_Cache_Size(aetools.NProperty): - """Include Cache Size - Include file cache size. """ - which = 'BX05' - want = 'long' -class _Prop_Save_Before_Building(aetools.NProperty): - """Save Before Building - Save open editor files before build operations """ - which = 'BX07' - want = 'bool' -class _Prop_Success_Sound(aetools.NProperty): - """Success Sound - The sound CodeWarrior plays when it successfully finishes a Bring Up To Date or Make command. """ - which = 'BX02' - want = 'TEXT' - -class base_class(aetools.ComponentItem): - """base class - A base class or super class of a class """ - want = 'BsCl' -class _Prop_access(aetools.NProperty): - """access - """ - which = 'Acce' - want = 'Acce' -class _Prop_class_(aetools.NProperty): - """class - The class object corresponding to this base class """ - which = 'Clas' - want = 'obj ' -class _Prop_virtual(aetools.NProperty): - """virtual - """ - which = 'Virt' - want = 'bool' - -base_classes = base_class - -class Custom_Keywords(aetools.ComponentItem): - """Custom Keywords - """ - want = 'CUKW' -class _Prop_Custom_Color_1(aetools.NProperty): - """Custom Color 1 - The color for the first set of custom keywords. """ - which = 'GH05' - want = 'cRGB' -class _Prop_Custom_Color_2(aetools.NProperty): - """Custom Color 2 - The color for the second set custom keywords. """ - which = 'GH06' - want = 'cRGB' -class _Prop_Custom_Color_3(aetools.NProperty): - """Custom Color 3 - The color for the third set of custom keywords. """ - which = 'GH07' - want = 'cRGB' -class _Prop_Custom_Color_4(aetools.NProperty): - """Custom Color 4 - The color for the fourth set of custom keywords. """ - which = 'GH08' - want = 'cRGB' - -class browser_catalog(aetools.ComponentItem): - """browser catalog - The browser symbol catalog for the current project """ - want = 'Cata' -# element 'Clas' as ['indx', 'name'] - -class class_(aetools.ComponentItem): - """class - A class, struct, or record type in the current project. """ - want = 'Clas' -class _Prop_all_subclasses(aetools.NProperty): - """all subclasses - the classes directly or indirectly derived from this class """ - which = 'SubA' - want = 'Clas' -class _Prop_declaration_end_offset(aetools.NProperty): - """declaration end offset - End of class declaration """ - which = 'DcEn' - want = 'long' -class _Prop_declaration_file(aetools.NProperty): - """declaration file - Source file containing the class declaration """ - which = 'DcFl' - want = 'fss ' -class _Prop_declaration_start_offset(aetools.NProperty): - """declaration start offset - Start of class declaration source code """ - which = 'DcSt' - want = 'long' -class _Prop_language(aetools.NProperty): - """language - Implementation language of this class """ - which = 'Lang' - want = 'Lang' -class _Prop_name(aetools.NProperty): - """name - """ - which = 'pnam' - want = 'TEXT' -class _Prop_subclasses(aetools.NProperty): - """subclasses - the immediate subclasses of this class """ - which = 'SubC' - want = 'Clas' -# element 'BsCl' as ['indx'] -# element 'DtMb' as ['indx', 'name'] -# element 'MbFn' as ['indx', 'name'] - -classes = class_ - -class Debugger_Display(aetools.ComponentItem): - """Debugger Display - Debugger Display preferences """ - want = 'DbDS' -class _Prop_Default_Array_Size(aetools.NProperty): - """Default Array Size - Controls whether CodeWarrior uses its own integrated editor or an external application for editing text files. """ - which = 'Db08' - want = 'shor' -class _Prop_Show_As_Decimal(aetools.NProperty): - """Show As Decimal - Show variable values as decimal by default """ - which = 'Db10' - want = 'bool' -class _Prop_Show_Locals(aetools.NProperty): - """Show Locals - Show locals by default """ - which = 'Db09' - want = 'bool' -class _Prop_Show_Variable_Types(aetools.NProperty): - """Show Variable Types - Show variable types by default. """ - which = 'Db01' - want = 'bool' -class _Prop_Sort_By_Method(aetools.NProperty): - """Sort By Method - Sort functions by method. """ - which = 'Db02' - want = 'bool' -class _Prop_Threads_in_Window(aetools.NProperty): - """Threads in Window - Show threads in separate windows. """ - which = 'Db04' - want = 'bool' -class _Prop_Use_RTTI(aetools.NProperty): - """Use RTTI - Enable RunTime Type Information. """ - which = 'Db03' - want = 'bool' -class _Prop_Variable_Changed_Hilite(aetools.NProperty): - """Variable Changed Hilite - Variable changed hilite color. """ - which = 'Db07' - want = 'cRGB' -class _Prop_Variable_Hints(aetools.NProperty): - """Variable Hints - Show variable hints. """ - which = 'Db05' - want = 'bool' -class _Prop_Watchpoint_Hilite(aetools.NProperty): - """Watchpoint Hilite - Watchpoint hilite color. """ - which = 'Db06' - want = 'cRGB' - -class Debugger_Global(aetools.ComponentItem): - """Debugger Global - Debugger Global preferences """ - want = 'DbGL' -class _Prop_Auto_Target_Libraries(aetools.NProperty): - """Auto Target Libraries - Automatically target libraries when debugging """ - which = 'Dg11' - want = 'bool' -class _Prop_Cache_Edited_Files(aetools.NProperty): - """Cache Edited Files - Cache edit files between debug sessions """ - which = 'Dg12' - want = 'bool' -class _Prop_Confirm_Kill(aetools.NProperty): - """Confirm Kill - Confirm the \xd4killing\xd5 of the process. """ - which = 'Dg04' - want = 'bool' -class _Prop_Dont_Step_in_Runtime(aetools.NProperty): - """Dont Step in Runtime - Don\xd5t step into runtime code when debugging. """ - which = 'Dg07' - want = 'bool' -class _Prop_File_Cache_Duration(aetools.NProperty): - """File Cache Duration - Duration to keep files in cache (in days) """ - which = 'Dg13' - want = 'shor' -class _Prop_Ignore_Mod_Dates(aetools.NProperty): - """Ignore Mod Dates - Ignore modification dates of files. """ - which = 'Dg01' - want = 'bool' -class _Prop_Launch_Apps_on_Open(aetools.NProperty): - """Launch Apps on Open - Launch applications on the opening of sym files. """ - which = 'Dg03' - want = 'bool' -class _Prop_Open_All_Classes(aetools.NProperty): - """Open All Classes - Open all Java class files. """ - which = 'Dg02' - want = 'bool' -class _Prop_Select_Stack_Crawl(aetools.NProperty): - """Select Stack Crawl - Select the stack crawl. """ - which = 'Dg06' - want = 'bool' -class _Prop_Stop_at_Main(aetools.NProperty): - """Stop at Main - Stop to debug on the main() function. """ - which = 'Dg05' - want = 'bool' - -class Debugger_Target(aetools.ComponentItem): - """Debugger Target - Debugger Target preferences """ - want = 'DbTG' -class _Prop_Cache_symbolics(aetools.NProperty): - """Cache symbolics - Cache symbolics between runs when executable doesn\xd5t change, else release symbolics files after killing process. """ - which = 'Dt15' - want = 'bool' -class _Prop_Data_Update_Interval(aetools.NProperty): - """Data Update Interval - How often to update the data while running (in seconds) """ - which = 'Dt09' - want = 'long' -class _Prop_Log_System_Messages(aetools.NProperty): - """Log System Messages - Log all system messages while debugging. """ - which = 'Dt02' - want = 'bool' -class _Prop_Relocated_Executable_Path(aetools.NProperty): - """Relocated Executable Path - Path to location of relocated libraries, code resources or remote debugging folder """ - which = 'Dt10' - want = 'RlPt' -class _Prop_Stop_at_temp_breakpoint(aetools.NProperty): - """Stop at temp breakpoint - Stop at a temp breakpoint on program launch. Set breakpoint type in Temp Breakpoint Type AppleEvent. """ - which = 'Dt13' - want = 'bool' -class _Prop_Temp_Breakpoint_Type(aetools.NProperty): - """Temp Breakpoint Type - Type of temp breakpoint to set on program launch. """ - which = 'Dt16' - want = 'TmpB' -class _Prop_Temp_breakpoint_names(aetools.NProperty): - """Temp breakpoint names - Comma separated list of names to attempt to stop at on program launch. First symbol to resolve in list is the temp BP that will be set. """ - which = 'Dt14' - want = 'ctxt' -class _Prop_Update_Data_While_Running(aetools.NProperty): - """Update Data While Running - Should pause to update data while running """ - which = 'Dt08' - want = 'bool' - -class Debugger_Windowing(aetools.ComponentItem): - """Debugger Windowing - """ - want = 'DbWN' -class _Prop_Debugging_Start_Action(aetools.NProperty): - """Debugging Start Action - What action to take when debug session starts """ - which = 'Dw01' - want = 'DbSA' -class _Prop_Do_Nothing_To_Projects(aetools.NProperty): - """Do Nothing To Projects - Suppress debugging start action for project windows """ - which = 'Dw02' - want = 'bool' - -class data_member(aetools.ComponentItem): - """data member - A class data member or field """ - want = 'DtMb' -class _Prop_static(aetools.NProperty): - """static - """ - which = 'Stat' - want = 'bool' - -data_members = data_member - -class Editor(aetools.ComponentItem): - """Editor - """ - want = 'EDTR' -class _Prop_Background_Color(aetools.NProperty): - """Background Color - Color of the background of editor windows. """ - which = 'ED13' - want = 'cRGB' -class _Prop_Balance(aetools.NProperty): - """Balance - Flash the matching opening bracket when you type a closing bracket. """ - which = 'ED03' - want = 'bool' -class _Prop_Context_Popup_Delay(aetools.NProperty): - """Context Popup Delay - The amount of time, in sixtieths of a second, before the context popup is displayed if you click and hold on a browser symbol. """ - which = 'ED14' - want = 'long' -class _Prop_Default_Text_File_Format(aetools.NProperty): - """Default Text File Format - Default text file format (i.e. which type of line endings to use) """ - which = 'ED17' - want = 'TxtF' -class _Prop_Dynamic_Scroll(aetools.NProperty): - """Dynamic Scroll - Display a window\xd5s contents as you move the scroll box. """ - which = 'ED02' - want = 'bool' -class _Prop_Flash_Delay(aetools.NProperty): - """Flash Delay - The amount of time, in sixtieths of a second, the editor highlights a matching bracket. """ - which = 'ED01' - want = 'long' -class _Prop_Left_Margin_Line_Select(aetools.NProperty): - """Left Margin Line Select - Clicking in the left margin selects lines """ - which = 'ED16' - want = 'bool' -class _Prop_Main_Text_Color(aetools.NProperty): - """Main Text Color - Main, default, color for text. """ - which = 'ED12' - want = 'cRGB' -class _Prop_Relaxed_C_Popup_Parsing(aetools.NProperty): - """Relaxed C Popup Parsing - Relax the function parser for C source files """ - which = 'ED15' - want = 'bool' -class _Prop_Remember_Font(aetools.NProperty): - """Remember Font - Display a source file with its own font settings. """ - which = 'ED08' - want = 'bool' -class _Prop_Remember_Selection(aetools.NProperty): - """Remember Selection - Restore the previous selection in a file when you open it. """ - which = 'ED09' - want = 'bool' -class _Prop_Remember_Window(aetools.NProperty): - """Remember Window - Restore the last size and position for a source file window when you open it. """ - which = 'ED10' - want = 'bool' -class _Prop_Sort_Function_Popup(aetools.NProperty): - """Sort Function Popup - """ - which = 'ED06' - want = 'bool' -class _Prop_Use_Drag__26__Drop_Editing(aetools.NProperty): - """Use Drag & Drop Editing - Use Drag & Drop text editing. """ - which = 'ED04' - want = 'bool' -class _Prop_Use_Multiple_Undo(aetools.NProperty): - """Use Multiple Undo - """ - which = 'ED07' - want = 'bool' - -class Environment_Variable(aetools.ComponentItem): - """Environment Variable - Environment variable for host OS """ - want = 'EnvV' -class _Prop_value(aetools.NProperty): - """value - Value of the environment variable """ - which = 'Valu' - want = 'TEXT' - -class Error_Information(aetools.ComponentItem): - """Error Information - Describes a single error or warning from the compiler or the linker. """ - want = 'ErrM' -class _Prop_disk_file(aetools.NProperty): - """disk file - The file where the error occurred. May not be returned for certain kinds of errors (eg, link errors). """ - which = 'file' - want = 'fss ' -class _Prop_lineNumber(aetools.NProperty): - """lineNumber - The line in the file where the error occurred. May not be returned for certain kinds of errors (eg, link errors). """ - which = 'ErrL' - want = 'long' -class _Prop_message(aetools.NProperty): - """message - The error or warning message. """ - which = 'ErrS' - want = 'TEXT' -class _Prop_messageKind(aetools.NProperty): - """messageKind - The type of error or warning. """ - which = 'ErrT' - want = 'ErrT' - -class Function_Information(aetools.ComponentItem): - """Function Information - Describes the location of any function or global data definition within the current project. """ - want = 'FDef' - -class File_Mappings(aetools.ComponentItem): - """File Mappings - Mappings of extensions & file types to compilers """ - want = 'FLMP' -class _Prop_Mappings(aetools.NProperty): - """Mappings - """ - which = 'FMps' - want = 'FMap' - -class File_Mapping(aetools.ComponentItem): - """File Mapping - """ - want = 'FMap' -class _Prop_Compiler(aetools.NProperty): - """Compiler - """ - which = 'TA07' - want = 'TEXT' -class _Prop_Extension(aetools.NProperty): - """Extension - """ - which = 'TA02' - want = 'TEXT' -class _Prop_File_Type(aetools.NProperty): - """File Type - """ - which = 'PR04' - want = 'TEXT' -class _Prop_Ignored_by_Make(aetools.NProperty): - """Ignored by Make - """ - which = 'TA06' - want = 'bool' -class _Prop_Launchable(aetools.NProperty): - """Launchable - """ - which = 'TA05' - want = 'bool' -class _Prop_Precompiled(aetools.NProperty): - """Precompiled - """ - which = 'TA03' - want = 'bool' -class _Prop_Resource_File(aetools.NProperty): - """Resource File - """ - which = 'TA04' - want = 'bool' - -class Global_Source_Trees(aetools.ComponentItem): - """Global Source Trees - Globally-defined source tree roots """ - want = 'GSTs' -class _Prop_Source_Trees(aetools.NProperty): - """Source Trees - List of source tree roots """ - which = 'ST01' - want = 'SrcT' - -class Extras(aetools.ComponentItem): - """Extras - """ - want = 'GXTR' -class _Prop_Automatic_Toolbar_Help(aetools.NProperty): - """Automatic Toolbar Help - Automatically show balloon help in toolbar after delay """ - which = 'EX19' - want = 'bool' -class _Prop_External_Reference(aetools.NProperty): - """External Reference - Which on-line function reference to use. """ - which = 'EX08' - want = 'RefP' -class _Prop_Full_Screen_Zoom(aetools.NProperty): - """Full Screen Zoom - Zoom windows to the full screen width. """ - which = 'EX07' - want = 'bool' -class _Prop_Recent_Editor_Count(aetools.NProperty): - """Recent Editor Count - Maximum number of editor documents to show in the \xd2Open Recent\xd3 menu """ - which = 'EX16' - want = 'shor' -class _Prop_Recent_Project_Count(aetools.NProperty): - """Recent Project Count - Maximum number of project documents to show in the \xd2Open Recent\xd3 menu """ - which = 'EX17' - want = 'shor' -class _Prop_Use_Editor_Extensions(aetools.NProperty): - """Use Editor Extensions - Controls the use of the Editor Extensions menu """ - which = 'EX10' - want = 'bool' -class _Prop_Use_External_Editor(aetools.NProperty): - """Use External Editor - Controls whether CodeWarrior uses its own integrated editor or an external application for editing text files. """ - which = 'EX11' - want = 'bool' -class _Prop_Use_Script_Menu(aetools.NProperty): - """Use Script Menu - Controls the use of the AppleScript menu """ - which = 'EX12' - want = 'bool' -class _Prop_Use_ToolServer_Menu(aetools.NProperty): - """Use ToolServer Menu - Controls the use of the ToolServer menu """ - which = 'EX18' - want = 'bool' - -class Build_Extras(aetools.ComponentItem): - """Build Extras - """ - want = 'LXTR' -class _Prop_Browser_Active(aetools.NProperty): - """Browser Active - Allow the collection of browser information. """ - which = 'EX09' - want = 'bool' -class _Prop_Cache_Subproject_Data(aetools.NProperty): - """Cache Subproject Data - """ - which = 'EX31' - want = 'bool' -class _Prop_Dump_Browser_Info(aetools.NProperty): - """Dump Browser Info - """ - which = 'EX30' - want = 'bool' -class _Prop_Modification_Date_Caching(aetools.NProperty): - """Modification Date Caching - """ - which = 'EX04' - want = 'bool' - -class member_function(aetools.ComponentItem): - """member function - A class member function or method. """ - want = 'MbFn' -class _Prop_implementation_end_offset(aetools.NProperty): - """implementation end offset - end of member function definition """ - which = 'DfEn' - want = 'long' -class _Prop_implementation_file(aetools.NProperty): - """implementation file - Source file containing the member function definition """ - which = 'DfFl' - want = 'fss ' -class _Prop_implementation_start_offset(aetools.NProperty): - """implementation start offset - start of member function definition source code """ - which = 'DfSt' - want = 'long' - -member_functions = member_function - -class Access_Paths(aetools.ComponentItem): - """Access Paths - Contains the definitions of a project\xd5s access (search) paths. """ - want = 'PATH' -class _Prop_Always_Full_Search(aetools.NProperty): - """Always Full Search - To force the compiler to search for system includes like it searches for user includes. """ - which = 'PA02' - want = 'bool' -class _Prop_Convert_Paths(aetools.NProperty): - """Convert Paths - Enables conversion of DOS & Unix-style relative paths when searching for files. """ - which = 'PA04' - want = 'bool' -class _Prop_Require_Framework_Includes(aetools.NProperty): - """Require Framework Includes - Causes the IDE to only look in the framework access paths if a Mac OS X framework style include (i.e. <Carbon/Carbon.h> ) is used. """ - which = 'PA05' - want = 'bool' -class _Prop_System_Paths(aetools.NProperty): - """System Paths - To add an access path for the include files. (Not supported in Pascal) """ - which = 'PA03' - want = 'PInf' -class _Prop_User_Paths(aetools.NProperty): - """User Paths - To add an access path for the source files. """ - which = 'PA01' - want = 'PInf' - -class Path_Information(aetools.ComponentItem): - """Path Information - Contains all of the parameters that describe an access path. """ - want = 'PInf' -class _Prop_format(aetools.NProperty): - """format - Format of the a """ - which = 'Frmt' - want = 'PthF' -class _Prop_framework(aetools.NProperty): - """framework - Is the path a Mac OS X framework style path? (This flag is readable but not writeable from AppleScript.) """ - which = 'Frmw' - want = 'bool' -class _Prop_host_flags(aetools.NProperty): - """host flags - Bit fields enabling the access path for each host OS (1 = Mac OS, 2 = Windows) """ - which = 'HstF' - want = 'long' -class _Prop_origin(aetools.NProperty): - """origin - """ - which = 'Orig' - want = 'PPrm' -class _Prop_recursive(aetools.NProperty): - """recursive - Will the path be searched recursively? (Default is true) """ - which = 'Recu' - want = 'bool' -class _Prop_root(aetools.NProperty): - """root - Name of the root of the relative path. Pre-defined values are \xd2Absolute\xd3, \xd2Project\xd3, \xd2CodeWarrior\xd3, and \xd2System\xd3. Anything else is a user-defined root. """ - which = 'Root' - want = 'TEXT' - -class Plugin_Settings(aetools.ComponentItem): - """Plugin Settings - Settings for plugin tools """ - want = 'PSTG' -class _Prop_Disable_Third_Party_COM_Plugins(aetools.NProperty): - """Disable Third Party COM Plugins - Disable COM plugins from third parties """ - which = 'PX02' - want = 'bool' -class _Prop_Plugin_Diagnostics_Level(aetools.NProperty): - """Plugin Diagnostics Level - Plugin Diagnostics Level is for those who are developing plugins for the IDE and need to debug them. """ - which = 'PX01' - want = 'PXdg' - -class Runtime_Settings(aetools.ComponentItem): - """Runtime Settings - Runtime settings """ - want = 'RSTG' -class _Prop_Command_Line_Arguments(aetools.NProperty): - """Command Line Arguments - Extra command line args to pass to executable """ - which = 'RS02' - want = 'TEXT' -class _Prop_Environment_Variables(aetools.NProperty): - """Environment Variables - Environment variables to use when running the executable """ - which = 'RS04' - want = 'EnvV' -class _Prop_Host_Application(aetools.NProperty): - """Host Application - Host application for running/debugging libraries and code resources """ - which = 'RS01' - want = 'RlPt' -class _Prop_Working_Directory(aetools.NProperty): - """Working Directory - Working directory to use when running the executable """ - which = 'RS03' - want = 'TEXT' - -class Relative_Path(aetools.ComponentItem): - """Relative Path - Relative path from some root """ - want = 'RlPt' - -class Shielded_Folder(aetools.ComponentItem): - """Shielded Folder - """ - want = 'SFit' -class _Prop_Expression_To_Match(aetools.NProperty): - """Expression To Match - Regular expression which describes folders to skip """ - which = 'SF01' - want = 'TEXT' -class _Prop_Skip_Find_And_Compare_Operations(aetools.NProperty): - """Skip Find And Compare Operations - Matching folders will be skipped during find and compare operations """ - which = 'SF03' - want = 'bool' -class _Prop_Skip_Project_Operations(aetools.NProperty): - """Skip Project Operations - Matching folders will be skipped during project operations """ - which = 'SF02' - want = 'bool' - -class Shielded_Folders(aetools.ComponentItem): - """Shielded Folders - Folders skipped when performing project and find-and-compare operations """ - want = 'SHFL' -class _Prop_Shielded_Items(aetools.NProperty): - """Shielded Items - """ - which = 'SFis' - want = 'SFit' - -class Syntax_Coloring(aetools.ComponentItem): - """Syntax Coloring - """ - want = 'SNTX' -class _Prop_Comment_Color(aetools.NProperty): - """Comment Color - The color for comments. """ - which = 'GH02' - want = 'cRGB' -class _Prop_Keyword_Color(aetools.NProperty): - """Keyword Color - The color for language keywords. """ - which = 'GH03' - want = 'cRGB' -class _Prop_String_Color(aetools.NProperty): - """String Color - The color for strings. """ - which = 'GH04' - want = 'cRGB' -class _Prop_Syntax_Coloring(aetools.NProperty): - """Syntax Coloring - Mark keywords and comments with color. """ - which = 'GH01' - want = 'bool' - -class Segment(aetools.ComponentItem): - """Segment - A segment or group in the project """ - want = 'Seg ' -class _Prop_filecount(aetools.NProperty): - """filecount - """ - which = 'NumF' - want = 'shor' -class _Prop_seg_2d_locked(aetools.NProperty): - """seg-locked - Is the segment locked ? [68K only] """ - which = 'PLck' - want = 'bool' -class _Prop_seg_2d_preloaded(aetools.NProperty): - """seg-preloaded - Is the segment preloaded ? [68K only] """ - which = 'Prel' - want = 'bool' -class _Prop_seg_2d_protected(aetools.NProperty): - """seg-protected - Is the segment protected ? [68K only] """ - which = 'Prot' - want = 'bool' -class _Prop_seg_2d_purgeable(aetools.NProperty): - """seg-purgeable - Is the segment purgeable ? [68K only] """ - which = 'Purg' - want = 'bool' -class _Prop_seg_2d_system_heap(aetools.NProperty): - """seg-system heap - Is the segment loaded into the system heap ? [68K only] """ - which = 'SysH' - want = 'bool' - -class ProjectFile(aetools.ComponentItem): - """ProjectFile - A file contained in a project """ - want = 'SrcF' -class _Prop_codesize(aetools.NProperty): - """codesize - The size of this file\xd5s code. """ - which = 'CSiz' - want = 'long' -class _Prop_datasize(aetools.NProperty): - """datasize - The size of this file\xd5s data. """ - which = 'DSiz' - want = 'long' -class _Prop_filetype(aetools.NProperty): - """filetype - What kind of file is this ? """ - which = 'SrcT' - want = 'SrcT' -class _Prop_includes(aetools.NProperty): - """includes - """ - which = 'IncF' - want = 'fss ' -class _Prop_initialize_before(aetools.NProperty): - """initialize before - Initialize the shared library before the main application. """ - which = 'Bfor' - want = 'bool' -class _Prop_symbols(aetools.NProperty): - """symbols - Are debugging symbols generated for this file ? """ - which = 'SymG' - want = 'bool' -class _Prop_up_to_date(aetools.NProperty): - """up to date - Has the file been compiled since its last modification ? """ - which = 'UpTD' - want = 'bool' -class _Prop_weak_link(aetools.NProperty): - """weak link - Is this file imported weakly into the project ? [PowerPC only] """ - which = 'Weak' - want = 'bool' - -class Source_Tree(aetools.ComponentItem): - """Source Tree - User-defined source tree root """ - want = 'SrcT' -class _Prop_path(aetools.NProperty): - """path - path for the user-defined source tree root """ - which = 'Path' - want = 'TEXT' -class _Prop_path_kind(aetools.NProperty): - """path kind - kind of path """ - which = 'Kind' - want = 'STKd' - -class Target_Settings(aetools.ComponentItem): - """Target Settings - Contains the definitions of a project\xd5s target. """ - want = 'TARG' -class _Prop_Linker(aetools.NProperty): - """Linker - The name of the current linker. """ - which = 'TA01' - want = 'TEXT' -class _Prop_Output_Directory_Location(aetools.NProperty): - """Output Directory Location - Location of output directory """ - which = 'TA16' - want = 'RlPt' -class _Prop_Output_Directory_Origin(aetools.NProperty): - """Output Directory Origin - Origin of path to output directory. Usage of this property is deprecated. Use the \xd2Output Directory Location\xd3 property instead. """ - which = 'TA12' - want = 'PPrm' -class _Prop_Output_Directory_Path(aetools.NProperty): - """Output Directory Path - Path to output directory. Usage of this property is deprecated. Use the \xd2Output Directory Location\xd3 property instead. """ - which = 'TA11' - want = 'TEXT' -class _Prop_Post_Linker(aetools.NProperty): - """Post Linker - """ - which = 'TA09' - want = 'TEXT' -class _Prop_Pre_Linker(aetools.NProperty): - """Pre Linker - """ - which = 'TA13' - want = 'TEXT' -class _Prop_Target_Name(aetools.NProperty): - """Target Name - """ - which = 'TA10' - want = 'TEXT' -class _Prop_Use_Relative_Paths(aetools.NProperty): - """Use Relative Paths - Save project entries using relative paths """ - which = 'TA15' - want = 'bool' - -class Target_Source_Trees(aetools.ComponentItem): - """Target Source Trees - Target-specific user-defined source tree roots """ - want = 'TSTs' - -class VCS_Setup(aetools.ComponentItem): - """VCS Setup - The version control system preferences. """ - want = 'VCSs' -class _Prop_Always_Prompt(aetools.NProperty): - """Always Prompt - Always show login dialog """ - which = 'VC07' - want = 'bool' -class _Prop_Auto_Connect(aetools.NProperty): - """Auto Connect - Automatically connect to database when starting. """ - which = 'VC05' - want = 'bool' -class _Prop_Connection_Method(aetools.NProperty): - """Connection Method - Name of Version Control System to use. """ - which = 'VC02' - want = 'TEXT' -class _Prop_Database_Path(aetools.NProperty): - """Database Path - Path to the VCS database. """ - which = 'VC09' - want = 'RlPt' -class _Prop_Local_Path(aetools.NProperty): - """Local Path - Path to the local root """ - which = 'VC10' - want = 'RlPt' -class _Prop_Mount_Volume(aetools.NProperty): - """Mount Volume - Attempt to mount the database volume if it isn't available. """ - which = 'VC08' - want = 'bool' -class _Prop_Password(aetools.NProperty): - """Password - The password for the VCS. """ - which = 'VC04' - want = 'TEXT' -class _Prop_Store_Password(aetools.NProperty): - """Store Password - Store the password. """ - which = 'VC06' - want = 'bool' -class _Prop_Use_Global_Settings(aetools.NProperty): - """Use Global Settings - Use the global VCS settings by default """ - which = 'VC11' - want = 'bool' -class _Prop_Username(aetools.NProperty): - """Username - The user name for the VCS. """ - which = 'VC03' - want = 'TEXT' -class _Prop_VCS_Active(aetools.NProperty): - """VCS Active - Use Version Control """ - which = 'VC01' - want = 'bool' - -class Font(aetools.ComponentItem): - """Font - """ - want = 'mFNT' -class _Prop_Auto_Indent(aetools.NProperty): - """Auto Indent - Indent new lines automatically. """ - which = 'FN01' - want = 'bool' -class _Prop_Tab_Indents_Selection(aetools.NProperty): - """Tab Indents Selection - Tab indents selection when multiple lines are selected """ - which = 'FN03' - want = 'bool' -class _Prop_Tab_Inserts_Spaces(aetools.NProperty): - """Tab Inserts Spaces - Insert spaces instead of tab character """ - which = 'FN04' - want = 'bool' -class _Prop_Tab_Size(aetools.NProperty): - """Tab Size - """ - which = 'FN02' - want = 'shor' -class _Prop_Text_Font(aetools.NProperty): - """Text Font - The font used in editing windows. """ - which = 'ptxf' - want = 'TEXT' -class _Prop_Text_Size(aetools.NProperty): - """Text Size - The size of the text in an editing window. """ - which = 'ptps' - want = 'shor' -Browser_Coloring._superclassnames = [] -Browser_Coloring._privpropdict = { - 'Browser_Keywords' : _Prop_Browser_Keywords, - 'Classes_Color' : _Prop_Classes_Color, - 'Constants_Color' : _Prop_Constants_Color, - 'Enums_Color' : _Prop_Enums_Color, - 'Functions_Color' : _Prop_Functions_Color, - 'Globals_Color' : _Prop_Globals_Color, - 'Macros_Color' : _Prop_Macros_Color, - 'Template_Commands_in_Menu' : _Prop_Template_Commands_in_Menu, - 'Templates_Color' : _Prop_Templates_Color, - 'Typedefs_Color' : _Prop_Typedefs_Color, -} -Browser_Coloring._privelemdict = { -} -Build_Settings._superclassnames = [] -Build_Settings._privpropdict = { - 'Build_Before_Running' : _Prop_Build_Before_Running, - 'Compiler_Thread_Stack_Size' : _Prop_Compiler_Thread_Stack_Size, - 'Completion_Sound' : _Prop_Completion_Sound, - 'Failure_Sound' : _Prop_Failure_Sound, - 'Include_Cache_Size' : _Prop_Include_Cache_Size, - 'Save_Before_Building' : _Prop_Save_Before_Building, - 'Success_Sound' : _Prop_Success_Sound, -} -Build_Settings._privelemdict = { -} -base_class._superclassnames = [] -base_class._privpropdict = { - 'access' : _Prop_access, - 'class_' : _Prop_class_, - 'virtual' : _Prop_virtual, -} -base_class._privelemdict = { -} -Custom_Keywords._superclassnames = [] -Custom_Keywords._privpropdict = { - 'Custom_Color_1' : _Prop_Custom_Color_1, - 'Custom_Color_2' : _Prop_Custom_Color_2, - 'Custom_Color_3' : _Prop_Custom_Color_3, - 'Custom_Color_4' : _Prop_Custom_Color_4, -} -Custom_Keywords._privelemdict = { -} -browser_catalog._superclassnames = [] -browser_catalog._privpropdict = { -} -browser_catalog._privelemdict = { - 'class_' : class_, -} -class_._superclassnames = [] -class_._privpropdict = { - 'all_subclasses' : _Prop_all_subclasses, - 'declaration_end_offset' : _Prop_declaration_end_offset, - 'declaration_file' : _Prop_declaration_file, - 'declaration_start_offset' : _Prop_declaration_start_offset, - 'language' : _Prop_language, - 'name' : _Prop_name, - 'subclasses' : _Prop_subclasses, -} -class_._privelemdict = { - 'base_class' : base_class, - 'data_member' : data_member, - 'member_function' : member_function, -} -Debugger_Display._superclassnames = [] -Debugger_Display._privpropdict = { - 'Default_Array_Size' : _Prop_Default_Array_Size, - 'Show_As_Decimal' : _Prop_Show_As_Decimal, - 'Show_Locals' : _Prop_Show_Locals, - 'Show_Variable_Types' : _Prop_Show_Variable_Types, - 'Sort_By_Method' : _Prop_Sort_By_Method, - 'Threads_in_Window' : _Prop_Threads_in_Window, - 'Use_RTTI' : _Prop_Use_RTTI, - 'Variable_Changed_Hilite' : _Prop_Variable_Changed_Hilite, - 'Variable_Hints' : _Prop_Variable_Hints, - 'Watchpoint_Hilite' : _Prop_Watchpoint_Hilite, -} -Debugger_Display._privelemdict = { -} -Debugger_Global._superclassnames = [] -Debugger_Global._privpropdict = { - 'Auto_Target_Libraries' : _Prop_Auto_Target_Libraries, - 'Cache_Edited_Files' : _Prop_Cache_Edited_Files, - 'Confirm_Kill' : _Prop_Confirm_Kill, - 'Dont_Step_in_Runtime' : _Prop_Dont_Step_in_Runtime, - 'File_Cache_Duration' : _Prop_File_Cache_Duration, - 'Ignore_Mod_Dates' : _Prop_Ignore_Mod_Dates, - 'Launch_Apps_on_Open' : _Prop_Launch_Apps_on_Open, - 'Open_All_Classes' : _Prop_Open_All_Classes, - 'Select_Stack_Crawl' : _Prop_Select_Stack_Crawl, - 'Stop_at_Main' : _Prop_Stop_at_Main, -} -Debugger_Global._privelemdict = { -} -Debugger_Target._superclassnames = [] -Debugger_Target._privpropdict = { - 'Auto_Target_Libraries' : _Prop_Auto_Target_Libraries, - 'Cache_symbolics' : _Prop_Cache_symbolics, - 'Data_Update_Interval' : _Prop_Data_Update_Interval, - 'Log_System_Messages' : _Prop_Log_System_Messages, - 'Relocated_Executable_Path' : _Prop_Relocated_Executable_Path, - 'Stop_at_temp_breakpoint' : _Prop_Stop_at_temp_breakpoint, - 'Temp_Breakpoint_Type' : _Prop_Temp_Breakpoint_Type, - 'Temp_breakpoint_names' : _Prop_Temp_breakpoint_names, - 'Update_Data_While_Running' : _Prop_Update_Data_While_Running, -} -Debugger_Target._privelemdict = { -} -Debugger_Windowing._superclassnames = [] -Debugger_Windowing._privpropdict = { - 'Debugging_Start_Action' : _Prop_Debugging_Start_Action, - 'Do_Nothing_To_Projects' : _Prop_Do_Nothing_To_Projects, -} -Debugger_Windowing._privelemdict = { -} -data_member._superclassnames = [] -data_member._privpropdict = { - 'access' : _Prop_access, - 'declaration_end_offset' : _Prop_declaration_end_offset, - 'declaration_start_offset' : _Prop_declaration_start_offset, - 'name' : _Prop_name, - 'static' : _Prop_static, -} -data_member._privelemdict = { -} -Editor._superclassnames = [] -Editor._privpropdict = { - 'Background_Color' : _Prop_Background_Color, - 'Balance' : _Prop_Balance, - 'Context_Popup_Delay' : _Prop_Context_Popup_Delay, - 'Default_Text_File_Format' : _Prop_Default_Text_File_Format, - 'Dynamic_Scroll' : _Prop_Dynamic_Scroll, - 'Flash_Delay' : _Prop_Flash_Delay, - 'Left_Margin_Line_Select' : _Prop_Left_Margin_Line_Select, - 'Main_Text_Color' : _Prop_Main_Text_Color, - 'Relaxed_C_Popup_Parsing' : _Prop_Relaxed_C_Popup_Parsing, - 'Remember_Font' : _Prop_Remember_Font, - 'Remember_Selection' : _Prop_Remember_Selection, - 'Remember_Window' : _Prop_Remember_Window, - 'Sort_Function_Popup' : _Prop_Sort_Function_Popup, - 'Use_Drag__26__Drop_Editing' : _Prop_Use_Drag__26__Drop_Editing, - 'Use_Multiple_Undo' : _Prop_Use_Multiple_Undo, -} -Editor._privelemdict = { -} -Environment_Variable._superclassnames = [] -Environment_Variable._privpropdict = { - 'name' : _Prop_name, - 'value' : _Prop_value, -} -Environment_Variable._privelemdict = { -} -Error_Information._superclassnames = [] -Error_Information._privpropdict = { - 'disk_file' : _Prop_disk_file, - 'lineNumber' : _Prop_lineNumber, - 'message' : _Prop_message, - 'messageKind' : _Prop_messageKind, -} -Error_Information._privelemdict = { -} -Function_Information._superclassnames = [] -Function_Information._privpropdict = { - 'disk_file' : _Prop_disk_file, - 'lineNumber' : _Prop_lineNumber, -} -Function_Information._privelemdict = { -} -File_Mappings._superclassnames = [] -File_Mappings._privpropdict = { - 'Mappings' : _Prop_Mappings, -} -File_Mappings._privelemdict = { -} -File_Mapping._superclassnames = [] -File_Mapping._privpropdict = { - 'Compiler' : _Prop_Compiler, - 'Extension' : _Prop_Extension, - 'File_Type' : _Prop_File_Type, - 'Ignored_by_Make' : _Prop_Ignored_by_Make, - 'Launchable' : _Prop_Launchable, - 'Precompiled' : _Prop_Precompiled, - 'Resource_File' : _Prop_Resource_File, -} -File_Mapping._privelemdict = { -} -Global_Source_Trees._superclassnames = [] -Global_Source_Trees._privpropdict = { - 'Source_Trees' : _Prop_Source_Trees, -} -Global_Source_Trees._privelemdict = { -} -Extras._superclassnames = [] -Extras._privpropdict = { - 'Automatic_Toolbar_Help' : _Prop_Automatic_Toolbar_Help, - 'External_Reference' : _Prop_External_Reference, - 'Full_Screen_Zoom' : _Prop_Full_Screen_Zoom, - 'Recent_Editor_Count' : _Prop_Recent_Editor_Count, - 'Recent_Project_Count' : _Prop_Recent_Project_Count, - 'Use_Editor_Extensions' : _Prop_Use_Editor_Extensions, - 'Use_External_Editor' : _Prop_Use_External_Editor, - 'Use_Script_Menu' : _Prop_Use_Script_Menu, - 'Use_ToolServer_Menu' : _Prop_Use_ToolServer_Menu, -} -Extras._privelemdict = { -} -Build_Extras._superclassnames = [] -Build_Extras._privpropdict = { - 'Browser_Active' : _Prop_Browser_Active, - 'Cache_Subproject_Data' : _Prop_Cache_Subproject_Data, - 'Dump_Browser_Info' : _Prop_Dump_Browser_Info, - 'Modification_Date_Caching' : _Prop_Modification_Date_Caching, -} -Build_Extras._privelemdict = { -} -member_function._superclassnames = [] -member_function._privpropdict = { - 'access' : _Prop_access, - 'declaration_end_offset' : _Prop_declaration_end_offset, - 'declaration_file' : _Prop_declaration_file, - 'declaration_start_offset' : _Prop_declaration_start_offset, - 'implementation_end_offset' : _Prop_implementation_end_offset, - 'implementation_file' : _Prop_implementation_file, - 'implementation_start_offset' : _Prop_implementation_start_offset, - 'name' : _Prop_name, - 'static' : _Prop_static, - 'virtual' : _Prop_virtual, -} -member_function._privelemdict = { -} -Access_Paths._superclassnames = [] -Access_Paths._privpropdict = { - 'Always_Full_Search' : _Prop_Always_Full_Search, - 'Convert_Paths' : _Prop_Convert_Paths, - 'Require_Framework_Includes' : _Prop_Require_Framework_Includes, - 'System_Paths' : _Prop_System_Paths, - 'User_Paths' : _Prop_User_Paths, -} -Access_Paths._privelemdict = { -} -Path_Information._superclassnames = [] -Path_Information._privpropdict = { - 'format' : _Prop_format, - 'framework' : _Prop_framework, - 'host_flags' : _Prop_host_flags, - 'name' : _Prop_name, - 'origin' : _Prop_origin, - 'recursive' : _Prop_recursive, - 'root' : _Prop_root, -} -Path_Information._privelemdict = { -} -Plugin_Settings._superclassnames = [] -Plugin_Settings._privpropdict = { - 'Disable_Third_Party_COM_Plugins' : _Prop_Disable_Third_Party_COM_Plugins, - 'Plugin_Diagnostics_Level' : _Prop_Plugin_Diagnostics_Level, -} -Plugin_Settings._privelemdict = { -} -Runtime_Settings._superclassnames = [] -Runtime_Settings._privpropdict = { - 'Command_Line_Arguments' : _Prop_Command_Line_Arguments, - 'Environment_Variables' : _Prop_Environment_Variables, - 'Host_Application' : _Prop_Host_Application, - 'Working_Directory' : _Prop_Working_Directory, -} -Runtime_Settings._privelemdict = { -} -Relative_Path._superclassnames = [] -Relative_Path._privpropdict = { - 'format' : _Prop_format, - 'name' : _Prop_name, - 'origin' : _Prop_origin, - 'root' : _Prop_root, -} -Relative_Path._privelemdict = { -} -Shielded_Folder._superclassnames = [] -Shielded_Folder._privpropdict = { - 'Expression_To_Match' : _Prop_Expression_To_Match, - 'Skip_Find_And_Compare_Operations' : _Prop_Skip_Find_And_Compare_Operations, - 'Skip_Project_Operations' : _Prop_Skip_Project_Operations, -} -Shielded_Folder._privelemdict = { -} -Shielded_Folders._superclassnames = [] -Shielded_Folders._privpropdict = { - 'Shielded_Items' : _Prop_Shielded_Items, -} -Shielded_Folders._privelemdict = { -} -Syntax_Coloring._superclassnames = [] -Syntax_Coloring._privpropdict = { - 'Comment_Color' : _Prop_Comment_Color, - 'Custom_Color_1' : _Prop_Custom_Color_1, - 'Custom_Color_2' : _Prop_Custom_Color_2, - 'Custom_Color_3' : _Prop_Custom_Color_3, - 'Custom_Color_4' : _Prop_Custom_Color_4, - 'Keyword_Color' : _Prop_Keyword_Color, - 'String_Color' : _Prop_String_Color, - 'Syntax_Coloring' : _Prop_Syntax_Coloring, -} -Syntax_Coloring._privelemdict = { -} -Segment._superclassnames = [] -Segment._privpropdict = { - 'filecount' : _Prop_filecount, - 'name' : _Prop_name, - 'seg_2d_locked' : _Prop_seg_2d_locked, - 'seg_2d_preloaded' : _Prop_seg_2d_preloaded, - 'seg_2d_protected' : _Prop_seg_2d_protected, - 'seg_2d_purgeable' : _Prop_seg_2d_purgeable, - 'seg_2d_system_heap' : _Prop_seg_2d_system_heap, -} -Segment._privelemdict = { -} -ProjectFile._superclassnames = [] -ProjectFile._privpropdict = { - 'codesize' : _Prop_codesize, - 'datasize' : _Prop_datasize, - 'disk_file' : _Prop_disk_file, - 'filetype' : _Prop_filetype, - 'includes' : _Prop_includes, - 'initialize_before' : _Prop_initialize_before, - 'name' : _Prop_name, - 'symbols' : _Prop_symbols, - 'up_to_date' : _Prop_up_to_date, - 'weak_link' : _Prop_weak_link, -} -ProjectFile._privelemdict = { -} -Source_Tree._superclassnames = [] -Source_Tree._privpropdict = { - 'format' : _Prop_format, - 'name' : _Prop_name, - 'path' : _Prop_path, - 'path_kind' : _Prop_path_kind, -} -Source_Tree._privelemdict = { -} -Target_Settings._superclassnames = [] -Target_Settings._privpropdict = { - 'Linker' : _Prop_Linker, - 'Output_Directory_Location' : _Prop_Output_Directory_Location, - 'Output_Directory_Origin' : _Prop_Output_Directory_Origin, - 'Output_Directory_Path' : _Prop_Output_Directory_Path, - 'Post_Linker' : _Prop_Post_Linker, - 'Pre_Linker' : _Prop_Pre_Linker, - 'Target_Name' : _Prop_Target_Name, - 'Use_Relative_Paths' : _Prop_Use_Relative_Paths, -} -Target_Settings._privelemdict = { -} -Target_Source_Trees._superclassnames = [] -Target_Source_Trees._privpropdict = { - 'Source_Trees' : _Prop_Source_Trees, -} -Target_Source_Trees._privelemdict = { -} -VCS_Setup._superclassnames = [] -VCS_Setup._privpropdict = { - 'Always_Prompt' : _Prop_Always_Prompt, - 'Auto_Connect' : _Prop_Auto_Connect, - 'Connection_Method' : _Prop_Connection_Method, - 'Database_Path' : _Prop_Database_Path, - 'Local_Path' : _Prop_Local_Path, - 'Mount_Volume' : _Prop_Mount_Volume, - 'Password' : _Prop_Password, - 'Store_Password' : _Prop_Store_Password, - 'Use_Global_Settings' : _Prop_Use_Global_Settings, - 'Username' : _Prop_Username, - 'VCS_Active' : _Prop_VCS_Active, -} -VCS_Setup._privelemdict = { -} -Font._superclassnames = [] -Font._privpropdict = { - 'Auto_Indent' : _Prop_Auto_Indent, - 'Tab_Indents_Selection' : _Prop_Tab_Indents_Selection, - 'Tab_Inserts_Spaces' : _Prop_Tab_Inserts_Spaces, - 'Tab_Size' : _Prop_Tab_Size, - 'Text_Font' : _Prop_Text_Font, - 'Text_Size' : _Prop_Text_Size, -} -Font._privelemdict = { -} -_Enum_Acce = { - 'public' : 'Publ', # - 'protected' : 'Prot', # - 'private' : 'Priv', # -} - -_Enum_BXbr = { - 'Always_Build' : 'BXb1', # Always build the target before running. - 'Ask_Build' : 'BXb2', # Ask before building the target when running. - 'Never_Build' : 'BXb3', # Never before building the target before running. -} - -_Enum_DbSA = { - 'No_Action' : 'DSA1', # Don\xd5t do anything to non-debug windows - 'Hide_Windows' : 'DSA2', # Hide non-debugging windows - 'Collapse_Windows' : 'DSA3', # Collapse non-debugging windows - 'Close_Windows' : 'DSA4', # Close non-debugging windows -} - -_Enum_DgBL = { - 'Always' : 'DgB0', # Always build before debugging. - 'Never' : 'DgB1', # Never build before debugging. - 'Ask' : 'DgB2', # Ask about building before debugging. -} - -_Enum_ErrT = { - 'information' : 'ErIn', # - 'compiler_warning' : 'ErCW', # - 'compiler_error' : 'ErCE', # - 'definition' : 'ErDf', # - 'linker_warning' : 'ErLW', # - 'linker_error' : 'ErLE', # - 'find_result' : 'ErFn', # - 'generic_error' : 'ErGn', # -} - -_Enum_Inte = { - 'never_interact' : 'eNvr', # Never allow user interactions - 'interact_with_self' : 'eInS', # Allow user interaction only when an AppleEvent is sent from within CodeWarrior - 'interact_with_local' : 'eInL', # Allow user interaction when AppleEvents are sent from applications on the same machine (default) - 'interact_with_all' : 'eInA', # Allow user interaction from both local and remote AppleEvents -} - -_Enum_Lang = { - 'C' : 'LC ', # - 'C_2b__2b_' : 'LC++', # - 'Pascal' : 'LP ', # - 'Object_Pascal' : 'LP++', # - 'Java' : 'LJav', # - 'Assembler' : 'LAsm', # - 'Unknown' : 'L? ', # -} - -_Enum_PPrm = { - 'absolute' : 'Abso', # An absolute path name, including volume name. - 'project_relative' : 'PRel', # A path relative to the current project\xd5s folder. - 'shell_relative' : 'SRel', # A path relative to the CodeWarrior\xaa folder. - 'system_relative' : 'YRel', # A path relative to the system folder - 'root_relative' : 'RRel', # -} - -_Enum_PXdg = { - 'Diagnose_None' : 'PXd1', # No Plugin Diagnostics. - 'Diagnose_Errors' : 'PXd2', # Plugin Diagnostics for errors only. - 'Diagnose_All' : 'PXd3', # Plugin Diagnostics for everything. -} - -_Enum_PthF = { - 'Generic_Path' : 'PFGn', # - 'MacOS_Path' : 'PFMc', # MacOS path using colon as separator - 'Windows_Path' : 'PFWn', # Windows path using backslash as separator - 'Unix_Path' : 'PFUx', # Unix path using slash as separator -} - -_Enum_RefP = { - 'Think_Reference' : 'DanR', # - 'QuickView' : 'ALTV', # -} - -_Enum_STKd = { - 'Absolute_Path' : 'STK0', # The \xd2path\xd3 property is an absolute path to the location of the source tree. - 'Registry_Key' : 'STK1', # The \xd2path\xd3 property is the name of a registry key that contains the path to the root. - 'Environment_Variable' : 'STK2', # The \xd2path\xd3 property is the name of an environment variable that contains the path to the root. -} - -_Enum_SrcT = { - 'source' : 'FTxt', # A source file (.c, .cp, .p, etc). - 'unknown' : 'FUnk', # An unknown file type. -} - -_Enum_TmpB = { - 'User_Specified' : 'Usrs', # Use user specified symbols when setting temporary breakpoints on program launch. - 'Default' : 'Dflt', # Use system default symbols when setting temporary breakpoints on program launch. -} - -_Enum_TxtF = { - 'MacOS' : 'TxF0', # MacOS text format - 'DOS' : 'TxF1', # DOS text format - 'Unix' : 'TxF2', # Unix text format -} - -_Enum_savo = { - 'yes' : 'yes ', # Save changes - 'no' : 'no ', # Do not save changes - 'ask' : 'ask ', # Ask the user whether to save -} - - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'BRKW' : Browser_Coloring, - 'BSTG' : Build_Settings, - 'BsCl' : base_class, - 'CUKW' : Custom_Keywords, - 'Cata' : browser_catalog, - 'Clas' : class_, - 'DbDS' : Debugger_Display, - 'DbGL' : Debugger_Global, - 'DbTG' : Debugger_Target, - 'DbWN' : Debugger_Windowing, - 'DtMb' : data_member, - 'EDTR' : Editor, - 'EnvV' : Environment_Variable, - 'ErrM' : Error_Information, - 'FDef' : Function_Information, - 'FLMP' : File_Mappings, - 'FMap' : File_Mapping, - 'GSTs' : Global_Source_Trees, - 'GXTR' : Extras, - 'LXTR' : Build_Extras, - 'MbFn' : member_function, - 'PATH' : Access_Paths, - 'PInf' : Path_Information, - 'PSTG' : Plugin_Settings, - 'RSTG' : Runtime_Settings, - 'RlPt' : Relative_Path, - 'SFit' : Shielded_Folder, - 'SHFL' : Shielded_Folders, - 'SNTX' : Syntax_Coloring, - 'Seg ' : Segment, - 'SrcF' : ProjectFile, - 'SrcT' : Source_Tree, - 'TARG' : Target_Settings, - 'TSTs' : Target_Source_Trees, - 'VCSs' : VCS_Setup, - 'mFNT' : Font, -} - -_propdeclarations = { - 'Acce' : _Prop_access, - 'BW00' : _Prop_Browser_Keywords, - 'BW01' : _Prop_Classes_Color, - 'BW02' : _Prop_Constants_Color, - 'BW03' : _Prop_Enums_Color, - 'BW04' : _Prop_Functions_Color, - 'BW05' : _Prop_Globals_Color, - 'BW06' : _Prop_Macros_Color, - 'BW07' : _Prop_Templates_Color, - 'BW08' : _Prop_Typedefs_Color, - 'BW10' : _Prop_Template_Commands_in_Menu, - 'BX01' : _Prop_Completion_Sound, - 'BX02' : _Prop_Success_Sound, - 'BX03' : _Prop_Failure_Sound, - 'BX04' : _Prop_Build_Before_Running, - 'BX05' : _Prop_Include_Cache_Size, - 'BX06' : _Prop_Compiler_Thread_Stack_Size, - 'BX07' : _Prop_Save_Before_Building, - 'Bfor' : _Prop_initialize_before, - 'CSiz' : _Prop_codesize, - 'Clas' : _Prop_class_, - 'DSiz' : _Prop_datasize, - 'Db01' : _Prop_Show_Variable_Types, - 'Db02' : _Prop_Sort_By_Method, - 'Db03' : _Prop_Use_RTTI, - 'Db04' : _Prop_Threads_in_Window, - 'Db05' : _Prop_Variable_Hints, - 'Db06' : _Prop_Watchpoint_Hilite, - 'Db07' : _Prop_Variable_Changed_Hilite, - 'Db08' : _Prop_Default_Array_Size, - 'Db09' : _Prop_Show_Locals, - 'Db10' : _Prop_Show_As_Decimal, - 'DcEn' : _Prop_declaration_end_offset, - 'DcFl' : _Prop_declaration_file, - 'DcSt' : _Prop_declaration_start_offset, - 'DfEn' : _Prop_implementation_end_offset, - 'DfFl' : _Prop_implementation_file, - 'DfSt' : _Prop_implementation_start_offset, - 'Dg01' : _Prop_Ignore_Mod_Dates, - 'Dg02' : _Prop_Open_All_Classes, - 'Dg03' : _Prop_Launch_Apps_on_Open, - 'Dg04' : _Prop_Confirm_Kill, - 'Dg05' : _Prop_Stop_at_Main, - 'Dg06' : _Prop_Select_Stack_Crawl, - 'Dg07' : _Prop_Dont_Step_in_Runtime, - 'Dg11' : _Prop_Auto_Target_Libraries, - 'Dg12' : _Prop_Cache_Edited_Files, - 'Dg13' : _Prop_File_Cache_Duration, - 'Dt02' : _Prop_Log_System_Messages, - 'Dt08' : _Prop_Update_Data_While_Running, - 'Dt09' : _Prop_Data_Update_Interval, - 'Dt10' : _Prop_Relocated_Executable_Path, - 'Dt13' : _Prop_Stop_at_temp_breakpoint, - 'Dt14' : _Prop_Temp_breakpoint_names, - 'Dt15' : _Prop_Cache_symbolics, - 'Dt16' : _Prop_Temp_Breakpoint_Type, - 'Dw01' : _Prop_Debugging_Start_Action, - 'Dw02' : _Prop_Do_Nothing_To_Projects, - 'ED01' : _Prop_Flash_Delay, - 'ED02' : _Prop_Dynamic_Scroll, - 'ED03' : _Prop_Balance, - 'ED04' : _Prop_Use_Drag__26__Drop_Editing, - 'ED06' : _Prop_Sort_Function_Popup, - 'ED07' : _Prop_Use_Multiple_Undo, - 'ED08' : _Prop_Remember_Font, - 'ED09' : _Prop_Remember_Selection, - 'ED10' : _Prop_Remember_Window, - 'ED12' : _Prop_Main_Text_Color, - 'ED13' : _Prop_Background_Color, - 'ED14' : _Prop_Context_Popup_Delay, - 'ED15' : _Prop_Relaxed_C_Popup_Parsing, - 'ED16' : _Prop_Left_Margin_Line_Select, - 'ED17' : _Prop_Default_Text_File_Format, - 'EX04' : _Prop_Modification_Date_Caching, - 'EX07' : _Prop_Full_Screen_Zoom, - 'EX08' : _Prop_External_Reference, - 'EX09' : _Prop_Browser_Active, - 'EX10' : _Prop_Use_Editor_Extensions, - 'EX11' : _Prop_Use_External_Editor, - 'EX12' : _Prop_Use_Script_Menu, - 'EX16' : _Prop_Recent_Editor_Count, - 'EX17' : _Prop_Recent_Project_Count, - 'EX18' : _Prop_Use_ToolServer_Menu, - 'EX19' : _Prop_Automatic_Toolbar_Help, - 'EX30' : _Prop_Dump_Browser_Info, - 'EX31' : _Prop_Cache_Subproject_Data, - 'ErrL' : _Prop_lineNumber, - 'ErrS' : _Prop_message, - 'ErrT' : _Prop_messageKind, - 'FMps' : _Prop_Mappings, - 'FN01' : _Prop_Auto_Indent, - 'FN02' : _Prop_Tab_Size, - 'FN03' : _Prop_Tab_Indents_Selection, - 'FN04' : _Prop_Tab_Inserts_Spaces, - 'Frmt' : _Prop_format, - 'Frmw' : _Prop_framework, - 'GH01' : _Prop_Syntax_Coloring, - 'GH02' : _Prop_Comment_Color, - 'GH03' : _Prop_Keyword_Color, - 'GH04' : _Prop_String_Color, - 'GH05' : _Prop_Custom_Color_1, - 'GH06' : _Prop_Custom_Color_2, - 'GH07' : _Prop_Custom_Color_3, - 'GH08' : _Prop_Custom_Color_4, - 'HstF' : _Prop_host_flags, - 'IncF' : _Prop_includes, - 'Kind' : _Prop_path_kind, - 'Lang' : _Prop_language, - 'NumF' : _Prop_filecount, - 'Orig' : _Prop_origin, - 'PA01' : _Prop_User_Paths, - 'PA02' : _Prop_Always_Full_Search, - 'PA03' : _Prop_System_Paths, - 'PA04' : _Prop_Convert_Paths, - 'PA05' : _Prop_Require_Framework_Includes, - 'PLck' : _Prop_seg_2d_locked, - 'PR04' : _Prop_File_Type, - 'PX01' : _Prop_Plugin_Diagnostics_Level, - 'PX02' : _Prop_Disable_Third_Party_COM_Plugins, - 'Path' : _Prop_path, - 'Prel' : _Prop_seg_2d_preloaded, - 'Prot' : _Prop_seg_2d_protected, - 'Purg' : _Prop_seg_2d_purgeable, - 'RS01' : _Prop_Host_Application, - 'RS02' : _Prop_Command_Line_Arguments, - 'RS03' : _Prop_Working_Directory, - 'RS04' : _Prop_Environment_Variables, - 'Recu' : _Prop_recursive, - 'Root' : _Prop_root, - 'SF01' : _Prop_Expression_To_Match, - 'SF02' : _Prop_Skip_Project_Operations, - 'SF03' : _Prop_Skip_Find_And_Compare_Operations, - 'SFis' : _Prop_Shielded_Items, - 'ST01' : _Prop_Source_Trees, - 'SrcT' : _Prop_filetype, - 'Stat' : _Prop_static, - 'SubA' : _Prop_all_subclasses, - 'SubC' : _Prop_subclasses, - 'SymG' : _Prop_symbols, - 'SysH' : _Prop_seg_2d_system_heap, - 'TA01' : _Prop_Linker, - 'TA02' : _Prop_Extension, - 'TA03' : _Prop_Precompiled, - 'TA04' : _Prop_Resource_File, - 'TA05' : _Prop_Launchable, - 'TA06' : _Prop_Ignored_by_Make, - 'TA07' : _Prop_Compiler, - 'TA09' : _Prop_Post_Linker, - 'TA10' : _Prop_Target_Name, - 'TA11' : _Prop_Output_Directory_Path, - 'TA12' : _Prop_Output_Directory_Origin, - 'TA13' : _Prop_Pre_Linker, - 'TA15' : _Prop_Use_Relative_Paths, - 'TA16' : _Prop_Output_Directory_Location, - 'UpTD' : _Prop_up_to_date, - 'VC01' : _Prop_VCS_Active, - 'VC02' : _Prop_Connection_Method, - 'VC03' : _Prop_Username, - 'VC04' : _Prop_Password, - 'VC05' : _Prop_Auto_Connect, - 'VC06' : _Prop_Store_Password, - 'VC07' : _Prop_Always_Prompt, - 'VC08' : _Prop_Mount_Volume, - 'VC09' : _Prop_Database_Path, - 'VC10' : _Prop_Local_Path, - 'VC11' : _Prop_Use_Global_Settings, - 'Valu' : _Prop_value, - 'Virt' : _Prop_virtual, - 'Weak' : _Prop_weak_link, - 'file' : _Prop_disk_file, - 'pnam' : _Prop_name, - 'ptps' : _Prop_Text_Size, - 'ptxf' : _Prop_Text_Font, -} - -_compdeclarations = { -} - -_enumdeclarations = { - 'Acce' : _Enum_Acce, - 'BXbr' : _Enum_BXbr, - 'DbSA' : _Enum_DbSA, - 'DgBL' : _Enum_DgBL, - 'ErrT' : _Enum_ErrT, - 'Inte' : _Enum_Inte, - 'Lang' : _Enum_Lang, - 'PPrm' : _Enum_PPrm, - 'PXdg' : _Enum_PXdg, - 'PthF' : _Enum_PthF, - 'RefP' : _Enum_RefP, - 'STKd' : _Enum_STKd, - 'SrcT' : _Enum_SrcT, - 'TmpB' : _Enum_TmpB, - 'TxtF' : _Enum_TxtF, - 'savo' : _Enum_savo, -} diff --git a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Required.py b/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Required.py deleted file mode 100644 index b0749e873..000000000 --- a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Required.py +++ /dev/null @@ -1,62 +0,0 @@ -"""Suite Required: Terms that every application should support -Level 1, version 1 - -Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5 -AETE/AEUT resource version 1/0, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'reqd' - -from StdSuites.Required_Suite import * -class Required_Events(Required_Suite_Events): - - _argmap_open = { - 'converting' : 'Conv', - } - - def open(self, _object, _attributes={}, **_arguments): - """open: Open the specified object(s) - Required argument: list of objects to open - Keyword argument converting: Whether to convert project to latest version (yes/no; default is ask). - Keyword argument _attributes: AppleEvent attribute dictionary - """ - _code = 'aevt' - _subcode = 'odoc' - - aetools.keysubst(_arguments, self._argmap_open) - _arguments['----'] = _object - - aetools.enumsubst(_arguments, 'Conv', _Enum_Conv) - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - -_Enum_Conv = { - 'yes' : 'yes ', # Convert the project if necessary on open - 'no' : 'no ', # Do not convert the project if needed on open -} - - -# -# Indices of types declared in this module -# -_classdeclarations = { -} - -_propdeclarations = { -} - -_compdeclarations = { -} - -_enumdeclarations = { - 'Conv' : _Enum_Conv, -} diff --git a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Standard_Suite.py b/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Standard_Suite.py deleted file mode 100644 index ae277a276..000000000 --- a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/Standard_Suite.py +++ /dev/null @@ -1,408 +0,0 @@ -"""Suite Standard Suite: Common terms for most applications -Level 1, version 1 - -Generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5 -AETE/AEUT resource version 1/0, language 0, script 0 -""" - -import aetools -import MacOS - -_code = 'CoRe' - -from StdSuites.Standard_Suite import * -class Standard_Suite_Events(Standard_Suite_Events): - - _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): - raise aetools.Error, aetools.decodeerror(_arguments) - # 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): - raise aetools.Error, aetools.decodeerror(_arguments) - # 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): - raise aetools.Error, aetools.decodeerror(_arguments) - # 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) - if _no_object != None: raise TypeError, 'No direct arg expected' - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # 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' - - if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object - - - _reply, _arguments, _attributes = self.send(_code, _subcode, - _arguments, _attributes) - if _arguments.get('errn', 0): - raise aetools.Error, aetools.decodeerror(_arguments) - # 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): - raise aetools.Error, aetools.decodeerror(_arguments) - # XXXX Optionally decode result - if _arguments.has_key('----'): - return _arguments['----'] - - -class application(aetools.ComponentItem): - """application - an application program """ - want = 'capp' -class _Prop_user_interaction(aetools.NProperty): - """user interaction - user interaction level """ - which = 'inte' - want = 'Inte' -user_interaction = _Prop_user_interaction() -# element 'cwin' as ['indx', 'name', 'rang'] -# element 'docu' as ['indx', 'name', 'rang'] - -class character(aetools.ComponentItem): - """character - a character """ - want = 'cha ' -class _Prop_length(aetools.NProperty): - """length - length in characters of this object """ - which = 'pLen' - want = 'long' -class _Prop_offset(aetools.NProperty): - """offset - offset of a text object from the beginning of the document (first char has offset 1) """ - which = 'pOff' - want = 'long' - -class insertion_point(aetools.ComponentItem): - """insertion point - An insertion location between two objects """ - want = 'cins' - -class line(aetools.ComponentItem): - """line - lines of text """ - want = 'clin' -class _Prop_index(aetools.NProperty): - """index - index of a line object from the beginning of the document (first line has index 1) """ - which = 'pidx' - want = 'long' -# element 'cha ' as ['indx', 'rang', 'rele'] - -lines = line - -class selection_2d_object(aetools.ComponentItem): - """selection-object - the selection visible to the user """ - want = 'csel' -class _Prop_contents(aetools.NProperty): - """contents - the contents of the selection """ - which = 'pcnt' - want = 'type' -# element 'cha ' as ['indx', 'rele', 'rang', 'test'] -# element 'clin' as ['indx', 'rang', 'rele'] -# element 'ctxt' as ['rang'] - -class text(aetools.ComponentItem): - """text - Text """ - want = 'ctxt' -# element 'cha ' as ['indx', 'rele', 'rang'] -# element 'cins' as ['rele'] -# element 'clin' as ['indx', 'rang', 'rele'] -# element 'ctxt' as ['rang'] - -class window(aetools.ComponentItem): - """window - A window """ - want = 'cwin' -class _Prop_bounds(aetools.NProperty): - """bounds - the boundary rectangle for the window """ - which = 'pbnd' - want = 'qdrt' -class _Prop_document(aetools.NProperty): - """document - the document that owns this window """ - which = 'docu' - want = 'docu' -class _Prop_name(aetools.NProperty): - """name - the title of the window """ - which = 'pnam' - want = 'itxt' -class _Prop_position(aetools.NProperty): - """position - upper left coordinates of window """ - which = 'ppos' - want = 'QDpt' -class _Prop_visible(aetools.NProperty): - """visible - is the window visible? """ - which = 'pvis' - want = 'bool' -class _Prop_zoomed(aetools.NProperty): - """zoomed - Is the window zoomed? """ - which = 'pzum' - want = 'bool' - -windows = window - -class document(aetools.ComponentItem): - """document - a document """ - want = 'docu' -class _Prop_file_permissions(aetools.NProperty): - """file permissions - the file permissions for the document """ - which = 'PERM' - want = 'PERM' -class _Prop_kind(aetools.NProperty): - """kind - the kind of document """ - which = 'DKND' - want = 'DKND' -class _Prop_location(aetools.NProperty): - """location - the file of the document """ - which = 'FILE' - want = 'fss ' -class _Prop_window(aetools.NProperty): - """window - the window of the document. """ - which = 'cwin' - want = 'cwin' - -documents = document - -class files(aetools.ComponentItem): - """files - Every file """ - want = 'file' - -file = files -application._superclassnames = [] -application._privpropdict = { - 'user_interaction' : _Prop_user_interaction, -} -application._privelemdict = { - 'document' : document, - 'window' : window, -} -character._superclassnames = [] -character._privpropdict = { - 'length' : _Prop_length, - 'offset' : _Prop_offset, -} -character._privelemdict = { -} -insertion_point._superclassnames = [] -insertion_point._privpropdict = { - 'length' : _Prop_length, - 'offset' : _Prop_offset, -} -insertion_point._privelemdict = { -} -line._superclassnames = [] -line._privpropdict = { - 'index' : _Prop_index, - 'length' : _Prop_length, - 'offset' : _Prop_offset, -} -line._privelemdict = { - 'character' : character, -} -selection_2d_object._superclassnames = [] -selection_2d_object._privpropdict = { - 'contents' : _Prop_contents, - 'length' : _Prop_length, - 'offset' : _Prop_offset, -} -selection_2d_object._privelemdict = { - 'character' : character, - 'line' : line, - 'text' : text, -} -text._superclassnames = [] -text._privpropdict = { - 'length' : _Prop_length, - 'offset' : _Prop_offset, -} -text._privelemdict = { - 'character' : character, - 'insertion_point' : insertion_point, - 'line' : line, - 'text' : text, -} -window._superclassnames = [] -window._privpropdict = { - 'bounds' : _Prop_bounds, - 'document' : _Prop_document, - 'index' : _Prop_index, - 'name' : _Prop_name, - 'position' : _Prop_position, - 'visible' : _Prop_visible, - 'zoomed' : _Prop_zoomed, -} -window._privelemdict = { -} -document._superclassnames = [] -document._privpropdict = { - 'file_permissions' : _Prop_file_permissions, - 'index' : _Prop_index, - 'kind' : _Prop_kind, - 'location' : _Prop_location, - 'name' : _Prop_name, - 'window' : _Prop_window, -} -document._privelemdict = { -} -files._superclassnames = [] -files._privpropdict = { -} -files._privelemdict = { -} - -# -# Indices of types declared in this module -# -_classdeclarations = { - '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 = { -} diff --git a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py b/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py deleted file mode 100644 index 5ef7ca964..000000000 --- a/sys/lib/python/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py +++ /dev/null @@ -1,189 +0,0 @@ -""" -Package generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5 -""" -import aetools -Error = aetools.Error -import CodeWarrior_suite -import Standard_Suite -import Metrowerks_Shell_Suite -import Required - - -_code_to_module = { - 'CWIE' : CodeWarrior_suite, - 'CoRe' : Standard_Suite, - 'MMPR' : Metrowerks_Shell_Suite, - 'reqd' : Required, -} - - - -_code_to_fullname = { - 'CWIE' : ('CodeWarrior.CodeWarrior_suite', 'CodeWarrior_suite'), - 'CoRe' : ('CodeWarrior.Standard_Suite', 'Standard_Suite'), - 'MMPR' : ('CodeWarrior.Metrowerks_Shell_Suite', 'Metrowerks_Shell_Suite'), - 'reqd' : ('CodeWarrior.Required', 'Required'), -} - -from CodeWarrior_suite import * -from Standard_Suite import * -from Metrowerks_Shell_Suite import * -from Required 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(character) -getbaseclasses(selection_2d_object) -getbaseclasses(application) -getbaseclasses(document) -getbaseclasses(text) -getbaseclasses(window) -getbaseclasses(file) -getbaseclasses(line) -getbaseclasses(insertion_point) -getbaseclasses(single_class_browser) -getbaseclasses(project_document) -getbaseclasses(symbol_browser) -getbaseclasses(editor_document) -getbaseclasses(file_compare_document) -getbaseclasses(class_browser) -getbaseclasses(subtarget) -getbaseclasses(message_document) -getbaseclasses(project_inspector) -getbaseclasses(text_document) -getbaseclasses(catalog_document) -getbaseclasses(class_hierarchy) -getbaseclasses(target) -getbaseclasses(build_progress_document) -getbaseclasses(target_file) -getbaseclasses(ToolServer_worksheet) -getbaseclasses(single_class_hierarchy) -getbaseclasses(File_Mapping) -getbaseclasses(browser_catalog) -getbaseclasses(Build_Settings) -getbaseclasses(ProjectFile) -getbaseclasses(VCS_Setup) -getbaseclasses(data_member) -getbaseclasses(Shielded_Folder) -getbaseclasses(Custom_Keywords) -getbaseclasses(Path_Information) -getbaseclasses(Segment) -getbaseclasses(Source_Tree) -getbaseclasses(Access_Paths) -getbaseclasses(Debugger_Windowing) -getbaseclasses(Relative_Path) -getbaseclasses(Environment_Variable) -getbaseclasses(base_class) -getbaseclasses(Debugger_Display) -getbaseclasses(Build_Extras) -getbaseclasses(Error_Information) -getbaseclasses(Editor) -getbaseclasses(Shielded_Folders) -getbaseclasses(Extras) -getbaseclasses(File_Mappings) -getbaseclasses(Function_Information) -getbaseclasses(Debugger_Target) -getbaseclasses(Syntax_Coloring) -getbaseclasses(class_) -getbaseclasses(Global_Source_Trees) -getbaseclasses(Target_Settings) -getbaseclasses(Debugger_Global) -getbaseclasses(member_function) -getbaseclasses(Runtime_Settings) -getbaseclasses(Plugin_Settings) -getbaseclasses(Browser_Coloring) -getbaseclasses(Font) -getbaseclasses(Target_Source_Trees) - -# -# Indices of types declared in this module -# -_classdeclarations = { - 'cha ' : character, - 'csel' : selection_2d_object, - 'capp' : application, - 'docu' : document, - 'ctxt' : text, - 'cwin' : window, - 'file' : file, - 'clin' : line, - 'cins' : insertion_point, - '1BRW' : single_class_browser, - 'PRJD' : project_document, - 'SYMB' : symbol_browser, - 'EDIT' : editor_document, - 'COMP' : file_compare_document, - 'BROW' : class_browser, - 'SBTG' : subtarget, - 'MSSG' : message_document, - 'INSP' : project_inspector, - 'TXTD' : text_document, - 'CTLG' : catalog_document, - 'HIER' : class_hierarchy, - 'TRGT' : target, - 'PRGS' : build_progress_document, - 'SRCF' : target_file, - 'TOOL' : ToolServer_worksheet, - '1HIR' : single_class_hierarchy, - 'FMap' : File_Mapping, - 'Cata' : browser_catalog, - 'BSTG' : Build_Settings, - 'SrcF' : ProjectFile, - 'VCSs' : VCS_Setup, - 'DtMb' : data_member, - 'SFit' : Shielded_Folder, - 'CUKW' : Custom_Keywords, - 'PInf' : Path_Information, - 'Seg ' : Segment, - 'SrcT' : Source_Tree, - 'PATH' : Access_Paths, - 'DbWN' : Debugger_Windowing, - 'RlPt' : Relative_Path, - 'EnvV' : Environment_Variable, - 'BsCl' : base_class, - 'DbDS' : Debugger_Display, - 'LXTR' : Build_Extras, - 'ErrM' : Error_Information, - 'EDTR' : Editor, - 'SHFL' : Shielded_Folders, - 'GXTR' : Extras, - 'FLMP' : File_Mappings, - 'FDef' : Function_Information, - 'DbTG' : Debugger_Target, - 'SNTX' : Syntax_Coloring, - 'Clas' : class_, - 'GSTs' : Global_Source_Trees, - 'TARG' : Target_Settings, - 'DbGL' : Debugger_Global, - 'MbFn' : member_function, - 'RSTG' : Runtime_Settings, - 'PSTG' : Plugin_Settings, - 'BRKW' : Browser_Coloring, - 'mFNT' : Font, - 'TSTs' : Target_Source_Trees, -} - - -class CodeWarrior(CodeWarrior_suite_Events, - Standard_Suite_Events, - Metrowerks_Shell_Suite_Events, - Required_Events, - aetools.TalkTo): - _signature = 'CWIE' - - _moduleName = 'CodeWarrior' |