2000-08-17 19:16:11 -03:00
|
|
|
"""
|
2003-06-13 11:31:19 -03:00
|
|
|
Package generated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
|
2000-08-17 19:16:11 -03:00
|
|
|
"""
|
|
|
|
import aetools
|
2002-01-22 19:22:32 -04:00
|
|
|
Error = aetools.Error
|
2000-08-17 19:16:11 -03:00
|
|
|
import CodeWarrior_suite
|
2003-03-28 18:07:22 -04:00
|
|
|
import Standard_Suite
|
2000-08-17 19:16:11 -03:00
|
|
|
import Metrowerks_Shell_Suite
|
2003-03-28 18:07:22 -04:00
|
|
|
import Required
|
2000-08-17 19:16:11 -03:00
|
|
|
|
|
|
|
|
|
|
|
_code_to_module = {
|
2003-04-12 19:27:11 -03:00
|
|
|
'CWIE' : CodeWarrior_suite,
|
|
|
|
'CoRe' : Standard_Suite,
|
|
|
|
'MMPR' : Metrowerks_Shell_Suite,
|
|
|
|
'reqd' : Required,
|
2000-08-17 19:16:11 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_code_to_fullname = {
|
2003-04-12 19:27:11 -03:00
|
|
|
'CWIE' : ('CodeWarrior.CodeWarrior_suite', 'CodeWarrior_suite'),
|
|
|
|
'CoRe' : ('CodeWarrior.Standard_Suite', 'Standard_Suite'),
|
|
|
|
'MMPR' : ('CodeWarrior.Metrowerks_Shell_Suite', 'Metrowerks_Shell_Suite'),
|
|
|
|
'reqd' : ('CodeWarrior.Required', 'Required'),
|
2000-08-17 19:16:11 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
from CodeWarrior_suite import *
|
2003-03-28 18:07:22 -04:00
|
|
|
from Standard_Suite import *
|
2000-08-17 19:16:11 -03:00
|
|
|
from Metrowerks_Shell_Suite import *
|
2003-03-28 18:07:22 -04:00
|
|
|
from Required import *
|
2003-03-23 18:07:28 -04:00
|
|
|
|
2002-08-07 12:53:42 -03:00
|
|
|
def getbaseclasses(v):
|
2003-04-12 19:27:11 -03:00
|
|
|
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', {}))
|
2002-08-07 12:53:42 -03:00
|
|
|
|
|
|
|
import StdSuites
|
|
|
|
|
|
|
|
#
|
|
|
|
# Set property and element dictionaries now that all classes have been defined
|
|
|
|
#
|
2003-05-01 19:06:15 -03:00
|
|
|
getbaseclasses(character)
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(selection_2d_object)
|
|
|
|
getbaseclasses(application)
|
|
|
|
getbaseclasses(document)
|
2003-05-01 19:06:15 -03:00
|
|
|
getbaseclasses(text)
|
|
|
|
getbaseclasses(window)
|
|
|
|
getbaseclasses(file)
|
|
|
|
getbaseclasses(line)
|
|
|
|
getbaseclasses(insertion_point)
|
2003-03-30 18:41:53 -04:00
|
|
|
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)
|
2002-08-07 12:53:42 -03:00
|
|
|
getbaseclasses(File_Mapping)
|
|
|
|
getbaseclasses(browser_catalog)
|
|
|
|
getbaseclasses(Build_Settings)
|
|
|
|
getbaseclasses(ProjectFile)
|
|
|
|
getbaseclasses(VCS_Setup)
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(data_member)
|
2002-08-07 12:53:42 -03:00
|
|
|
getbaseclasses(Shielded_Folder)
|
|
|
|
getbaseclasses(Custom_Keywords)
|
|
|
|
getbaseclasses(Path_Information)
|
|
|
|
getbaseclasses(Segment)
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(Source_Tree)
|
2002-08-07 12:53:42 -03:00
|
|
|
getbaseclasses(Access_Paths)
|
|
|
|
getbaseclasses(Debugger_Windowing)
|
|
|
|
getbaseclasses(Relative_Path)
|
|
|
|
getbaseclasses(Environment_Variable)
|
2003-06-13 11:31:19 -03:00
|
|
|
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)
|
2002-08-07 12:53:42 -03:00
|
|
|
getbaseclasses(Debugger_Global)
|
|
|
|
getbaseclasses(member_function)
|
|
|
|
getbaseclasses(Runtime_Settings)
|
|
|
|
getbaseclasses(Plugin_Settings)
|
2003-06-13 11:31:19 -03:00
|
|
|
getbaseclasses(Browser_Coloring)
|
2002-08-07 12:53:42 -03:00
|
|
|
getbaseclasses(Font)
|
|
|
|
getbaseclasses(Target_Source_Trees)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Indices of types declared in this module
|
|
|
|
#
|
|
|
|
_classdeclarations = {
|
2003-05-01 19:06:15 -03:00
|
|
|
'cha ' : character,
|
2003-06-13 11:31:19 -03:00
|
|
|
'csel' : selection_2d_object,
|
|
|
|
'capp' : application,
|
|
|
|
'docu' : document,
|
2003-05-01 19:06:15 -03:00
|
|
|
'ctxt' : text,
|
|
|
|
'cwin' : window,
|
|
|
|
'file' : file,
|
|
|
|
'clin' : line,
|
|
|
|
'cins' : insertion_point,
|
2003-04-12 19:27:11 -03:00
|
|
|
'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,
|
2003-06-13 11:31:19 -03:00
|
|
|
'DtMb' : data_member,
|
2003-04-12 19:27:11 -03:00
|
|
|
'SFit' : Shielded_Folder,
|
|
|
|
'CUKW' : Custom_Keywords,
|
|
|
|
'PInf' : Path_Information,
|
|
|
|
'Seg ' : Segment,
|
2003-06-13 11:31:19 -03:00
|
|
|
'SrcT' : Source_Tree,
|
2003-04-12 19:27:11 -03:00
|
|
|
'PATH' : Access_Paths,
|
|
|
|
'DbWN' : Debugger_Windowing,
|
|
|
|
'RlPt' : Relative_Path,
|
|
|
|
'EnvV' : Environment_Variable,
|
2003-06-13 11:31:19 -03:00
|
|
|
'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,
|
2003-04-12 19:27:11 -03:00
|
|
|
'DbGL' : Debugger_Global,
|
|
|
|
'MbFn' : member_function,
|
|
|
|
'RSTG' : Runtime_Settings,
|
|
|
|
'PSTG' : Plugin_Settings,
|
2003-06-13 11:31:19 -03:00
|
|
|
'BRKW' : Browser_Coloring,
|
2003-04-12 19:27:11 -03:00
|
|
|
'mFNT' : Font,
|
|
|
|
'TSTs' : Target_Source_Trees,
|
2002-08-07 12:53:42 -03:00
|
|
|
}
|
2000-08-17 19:16:11 -03:00
|
|
|
|
|
|
|
|
2003-03-28 18:07:22 -04:00
|
|
|
class CodeWarrior(CodeWarrior_suite_Events,
|
2003-04-12 19:27:11 -03:00
|
|
|
Standard_Suite_Events,
|
|
|
|
Metrowerks_Shell_Suite_Events,
|
|
|
|
Required_Events,
|
|
|
|
aetools.TalkTo):
|
|
|
|
_signature = 'CWIE'
|
2000-08-17 19:16:11 -03:00
|
|
|
|
2003-04-12 19:27:11 -03:00
|
|
|
_moduleName = 'CodeWarrior'
|