We could work on it.<br><br>Perhaps any one cold start a project for that. And others help.<br><br>My English and my knowledge in C++ is very pour. But i help any one do it. <br><br><div class="gmail_quote">2009/4/3 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
<br>
On Fri, 3 Apr 2009, Mattias Gärtner wrote:<br>
<br>
> Zitat von Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>>:<br>
><br>
> ><br>
> ><br>
> > On Fri, 3 Apr 2009, Graeme Geldenhuys wrote:<br>
> ><br>
> > > On Thu, Apr 2, 2009 at 10:05 PM, Philippe Martinole<br>
> > > <<a href="mailto:philippe.martinole@teleauto.org">philippe.martinole@teleauto.org</a>> wrote:<br>
> > > ><br>
> > > > xmi files (not xml) are used to save uml models :<br>
> > > > <a href="http://en.wikipedia.org/wiki/XML_Metadata_Interchange" target="_blank">http://en.wikipedia.org/wiki/XML_Metadata_Interchange</a><br>
> > > > and I want to gererate my data structures from my uml diagrams<br>
> > > > I would be suprised if nothing already exists<br>
> > ><br>
> > > I've been looking for something like this for a long time and haven't<br>
> > > fond anything for Free Pascal / Lazarus. You can obviously use Model<br>
> > > Maker and simply tweak the generated object pascal code to make sure<br>
> > > they are compilable with FPC. But I believe Model Maker is quite<br>
> > > pricey.<br>
> ><br>
> > Well, Umbrello (Open source, comes with KDE) can generate code from XMI<br>
> > for various languages (C,C++,PHP, Java) except pascal. All you need to<br>
> > do is write an output engine for pascal.<br>
> ><br>
> > It is on my todo list, item no. 132.458 :-)<br>
><br>
> I just tested Umbrello and I got the impression it is very C++-centric - the<br>
> dialogs, the options, the code. For example I don't see how to setup free<br>
> pascal properties - it seems to have only basic variables as attributes.<br>
> Is this a shortcoming of UML in general?<br>
<br>
</div>No, I don't think so; But the 'pascal' implementation is very rudimentary,<br>
for instance there is no 'published' visibility. if you look at the<br>
language specific options, you'll see that the pascal language has no<br>
options yet. I would expect that one could put some pascal-specific<br>
things there.<br>
<br>
I expect it'll be up to us to provide this :(<br>
<br>
I use umbrello extensively for the diagrams till now,<br>
it would of course be nice to have it import/export pascal code as well.<br>
<br>
So, it remains on my todo list. But maybe if interest is raised enough,<br>
someone with more time/pressing needs will do it before me :-)<br>
<font color="#888888"><br>
Michael.</font><br>_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br>