[umbrello-devel] [umbrello] [Bug 56184] Support loading of foreign XMI file formats

Oliver Kellogg okellogg at users.sourceforge.net
Mon Apr 21 18:18:19 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=56184

--- Comment #65 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 3ded4560aee065feeec55fda99e6db50d6f57a73 by Oliver Kellogg.
Committed on 21/04/2014 at 18:19.
Pushed by okellogg into branch 'master'.

Followup to commit c0d58b3 for loading UML2/XMI2 files

umbrello/object_factory.cpp function makeObjectFromXMI() :
- Map UML2 PrimitiveType to UMLClassifier with base type ot_Datatype.

umbrello/attribute.cpp function load() :
- Replace direct accesses to QDomElement::attribute("xmi.id") by
  Model_Utils::getXmiId()
- If no xmi.id attribute is found in tempElement then check for attribute
  "href". If href is found then look for a hashmark (#) in its value. If
  found then extract the substring following the hashmark and seek this
  name in the Datatypes folder. If found then set m_pSecondary to the
  datatype object found; else create a new datatype with this name, and
  set m_pSecondary to the new datatype object.

M  +25   -7    umbrello/attribute.cpp
M  +4    -2    umbrello/object_factory.cpp

http://commits.kde.org/umbrello/3ded4560aee065feeec55fda99e6db50d6f57a73

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list