E&S CVS Commit: pylib - Implemented a 'copyIntoSubclasses' flag for Builders that allows them to

pje at eby-sarna.com pje at eby-sarna.com
Sat Jun 30 20:06:00 EDT 2001

Module Name:	pylib
Committed By:	pje
Date:		Sun Jul  1 00:05:31 UTC 2001

Modified Files:
	pylib/TW: Builders.py Components.py Interfaces.py
	pylib/TW/UML: MMX.py
	pylib/TW/XMI: Reading.py

Log Message:
Implemented a 'copyIntoSubclasses' flag for Builders that allows them to
be copied into the recipe for the same-named feature in a subclass being
built in the same build process.  This lets a base class establish a
starting builder that determines how subclass data is interpreted.
Changed the _XMIMap implementation so that it's done this way from
XMI.Reading instead of as part of the UML.MMX package (which was poor
encapsulation).  Updated Interfaces to reflect this new functionality and
added an IParentBuilder interface to begin documenting this more
specialized form of builder.  Revamped copy() methods of existing builders
to work better with the 'copyIntoSubclasses' flag and any future flags or
attributes defined in builder subclasses.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pylib/TW/Builders.py pylib/TW/Interfaces.py
cvs rdiff -r1.17 -r1.18 pylib/TW/Components.py
cvs rdiff -r1.16 -r1.17 pylib/TW/UML/MMX.py
cvs rdiff -r1.4 -r1.5 pylib/TW/XMI/Reading.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list