[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg Oliver.Kellogg at t-online.de
Fri Dec 26 06:46:02 UTC 2003


Sebastian Stein wrote:
> 
> Will it be possible to load old 1.1 files in 1.2?
> 

By all means - I've been testing out all my mods
on umbrello files of various age.

To answer your particular question, see umlrole.cpp:1.12,
loadFromXMI():

if (element.hasAttribute("documentation")) // for bkwd compat.
    m_Doc = element.attribute("documentation", "");
else
    m_Doc = element.attribute("comment", ""); 

Happy Holidays everybody, I'll be back around Jan. 4.

Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20031226/5187c145/attachment.html>


More information about the umbrello-devel mailing list