[umbrello] [Bug 115269] Implement the UML 2.0 standard

Oliver Kellogg bugzilla_noreply at kde.org
Mon Mar 7 22:10:57 GMT 2022


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

--- Comment #33 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit f0ee00ce004097d295781deb07d5e70bb13dc961 by Oliver Kellogg.
Committed on 07/03/2022 at 22:10.
Pushed by okellogg into branch 'master'.

Followup to commit 26aeb516 - further UML2 alignment for loading Umbrello XMI
into PapyrusUML

umbrello/umlmodel/folder.cpp
- At function save1 :
  - Update documentation.
  - In UML2 mode, when saving a predefined view create a
    <packagedElement xmi:type="uml:Model"> element.
- At function saveToXMI improve documentation.
- At function load1 :
  - Update documentation.
  - On comparing `type' with "packagedElement" and "ownedElement" a
    simple equality test suffices.

umbrello/umldoc.cpp
- In function loadUMLObjectsFromXMI for-loop of node test `type'
  against "packagedElement" alongside testing
  tagEq(type, QLatin1String("Model")). Reason: The predefined folders
  are now generated as <packagedElement>s.

M  +14   -7    umbrello/umldoc.cpp
M  +20   -11   umbrello/umlmodel/folder.cpp

https://invent.kde.org/sdk/umbrello/commit/f0ee00ce004097d295781deb07d5e70bb13dc961

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


More information about the umbrello-devel mailing list