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

"Oliver Kellogg" <[email protected]>
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=115269

--- Comment #33 from Oliver Kellogg <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.