[Uml-user] just some comment
jr at jriddell.org
Wed Feb 26 13:24:05 UTC 2003
On Wed, 26 Feb 2003, Wolfram Kriesing wrote:
> generating and importing code.
> i noticed that using umbrello in the dev-process is really cool, but
> when it comes to really developing stuff i would still have to update
> two things parallel. the code itself (which might have been generated
> out of umbrello) and the UML-presentation in umbrello.
> so my idea was it would be great if umbrello could 'work' on the
> existing classes this way that it reads the class structure or
> generates it and when modifying it in umbrello it leaves all the
> existing code as it is and adds/modifies the things i changed/added in
It would certainly be nice to have round trip code<->model working. It
needs the code import interface made (so it works with more than just c++)
and it would need quite large changes to code export (which would have to
work out what needed exporting).
Doing this would also be completely illegal since it's patented
(illegally) by Togethersoft/Borland. A very good reason to get it done
> customizing im- and export
> when exporting the code it would be great to be able to have some code
> template-pieces which are used for the generation. i.e.
> include '<package>/<classname>'
> might be exported as
> require_once $config->classPath.'<package>/<classname>';
> since my code might require it to be done like this (PHP is just that
> i hope it is clear what i mean
I guess the code export libraries could have user defined strings.
> generating the pieces of code that i 'draw' in the activity diagram
and sequence diagrams. A challenge but it would be possible.
All good suggestions but also all quite difficult and time consuming to
do. I'll put them in the bugs database and they might get done.
More information about the umbrello