[Uml-devel] Codegeneration patch.. updated

Brian Thomas thomas at mail630.gsfc.nasa.gov
Sun Aug 24 20:24:25 UTC 2003


	Ok, I've updated my codegeneration patch. For whatever reason, the
	-N flag just doesnt work with the diff utility inside my version of cvs.
	If I just diff between a vanilla version of umbrello, and my patched version,
	I can make a patch file. 

	So the code generation patch may be found right where the prior one was,
	at:

	http://nvo.gsfc.nasa.gov/Umbrello/codegenhack2.patch

	Its current against the umbrello codebase as of right now, and is a more 
	complete version of what I envision. Right now, I have all the hooks 
	largely in place, try right-clicking on a class in umbrello and choosing the
	'view code' option. THis will bring up a clickable dialog with the generated
	code (ONLY Java code can be generated at this time). Clicking on the 
	portion of the code highlighted will automatically take you to the appropriate
	umbrello edit dialog for attributes, classes, roles (associations) or operations.

	I'd like to have a bunch of the developers at least take a look at this and
	feed back some comments good/bad/otherwise on how this looks to you
	all. RIght now, my remaining plans are to implement some type of wrapper
	so that legacy generators are available (but wont, of course, have the added
	functionality that the new codegenerators have), and to implement a means
	of editing operations code as well as a means of saving the changes to the
	code in the XMI file in some form (ideas on how to do that are very welcome).

					-later,

					-b.t.





More information about the umbrello-devel mailing list