E&S CVS Commit: PEAK - Added support for 'singularName' to control method names for collection

pje at eby-sarna.com pje at eby-sarna.com
Fri Feb 28 13:51:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Fri Feb 28 18:50:41 UTC 2003

Modified Files:
	PEAK/src/peak/model: features.py method_exporter.py

Log Message:
Added support for 'singularName' to control method names for collection
features.  In this way, if one has a 'widgets' collection feature, one
can set 'singularName = "widget"' in the feature definition, and the
generated methods will be named 'addWidget()', 'removeWidget()' and so on.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/model/features.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/model/method_exporter.py.diff?r1=1.8&r2=1.9

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/model/features.py
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/model/method_exporter.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