Zitat von Michael Van Canneyt <mich...@freepascal.org>: > > > On Fri, 3 Apr 2009, Graeme Geldenhuys wrote: > > > On Thu, Apr 2, 2009 at 10:05 PM, Philippe Martinole > > <philippe.martin...@teleauto.org> wrote: > > > > > > xmi files (not xml) are used to save uml models : > > > http://en.wikipedia.org/wiki/XML_Metadata_Interchange > > > and I want to gererate my data structures from my uml diagrams > > > I would be suprised if nothing already exists > > > > I've been looking for something like this for a long time and haven't > > fond anything for Free Pascal / Lazarus. You can obviously use Model > > Maker and simply tweak the generated object pascal code to make sure > > they are compilable with FPC. But I believe Model Maker is quite > > pricey. > > Well, Umbrello (Open source, comes with KDE) can generate code from XMI > for various languages (C,C++,PHP, Java) except pascal. All you need to > do is write an output engine for pascal. > > It is on my todo list, item no. 132.458 :-)
I just tested Umbrello and I got the impression it is very C++-centric - the dialogs, the options, the code. For example I don't see how to setup free pascal properties - it seems to have only basic variables as attributes. Is this a shortcoming of UML in general? Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal