[Uml-devel] Code generation XMI file, patch and more

Jonathan Riddell jr at jriddell.org
Wed Aug 6 09:52:06 UTC 2003


On Mon, Aug 04, 2003 at 01:21:03PM -0400, Brian Thomas wrote:
> 	Im not sure why the old XMI file isnt loading, perhaps too many changes to Umbrello?
> 	I tend to use an older version of umbrello 1.2 to create/maintain my XMI files. Nevertheless,
> 	I have prepared a summary web page of my effort at :
> 
> 	http://nvo.gsfc.nasa.gov/Umbrello
> 
> 	At this site you will find the latest XMI file, a patch file which has my current code, and png
> 	images of the UML class diagrams in the XMI file (in case you cant load it). Jonathan, can
> 	you update my XMI file on the umbrello page (and whatever else you want to put there).
> 	I dont expect to maintain the code generation page I put together for any length of time.

I've replaced the old file on the Umbrello website.

> 	As far as current progress, I have implemented and tested out the basic model focusing on
> 	the Java code generation. Also, I have put in some minimal hooks/views between the generated
> 	code model and the main gui (check out the 'settings' dialog for code generation and also
> 	a right click on any class, then choose 'view code'). I expect to still do the following:
> 	
> 	implement most of the other code generator langauges ( I will probably need help with some
> 	of the more 'exotic' ones like the python and ada generators), improve the gui interaction
> 	(being able to hack in the body of operations needs to be done as well as class-by-class control
> 	of code generation parameters) and, perhaps most importantly, fix up saving/loading of the
> 	code generation parameters in the XMI file (suggestions on how to do this are _very_ welcome).

parameters shouldn't be too difficult.  
Just save them to the 
~/.kde/share/config/umbrellorc
file

let each generator choose a sensible header 
[java-generator]

and set the values using the standard KDE methods.
KConfig::readBoolEntry()  etc

Jonathan Riddell




More information about the umbrello-devel mailing list