[Uml-devel] serialization, properties and feature priorities

Andrew Sutton ansutton at kent.edu
Thu Oct 17 05:44:03 UTC 2002


On Thursday 17 October 2002 08:03 am, tomas.walch at se.transport.bombardier.com 
wrote:
> Hi!
>
> I think it would be a really good idea to take advantage of Qt Properties
> for the UML objects. Then if someone adds a property to a class the
> serialization methods don't have to be rewritten since they can be made to
> ask the Meta object-system for the properties. I guess you'd really only
> need one serialization method as a matter of fact, and the same is true for
> saving to XMI as well. Iit won't work for the binary file format but I'm
> thinking by the time (2.x?) we get around to writing all these
> Q_PROPERTY-macros that support is no longer necessary. Another nice aspect
> of using qt properties is that a generic interface for manipulating all
> kinds of UML objects' properties will be easy to implement (like for
> widgets in Qt Designer, that window can actually be re-used). Qt
> parent-child relations between the UML objects is also more flexible than
> todays implementation. All in all something for a new object model.

yeah... i thought so... their property model doesn't quite have enough to do 
what we'd need it to do. its close though :) if i ever find the time, i might 
do a little hacking on it to extend it for multiple and multiple ordered 
properties. then send it back to them.




More information about the umbrello-devel mailing list