[umbrello] [Bug 56184] Support loading of foreign XMI file formats
Oliver Kellogg
bugzilla_noreply at kde.org
Sun Dec 26 05:36:52 GMT 2021
https://bugs.kde.org/show_bug.cgi?id=56184
--- Comment #99 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit dba3b12e9dfcb0e3eb69e13d56789736b2c4153c by Oliver Kellogg.
Committed on 26/12/2021 at 05:36.
Pushed by okellogg into branch 'master'.
Improve loading of files from https://www.eclipse.org/papyrus
umbrello/uml.cpp
- In function slotFileOpen call to QFileDialog::getOpenFileUrl argument
`filter' add pattern "*.uml" for Eclipse PapyrusUML files.
umbrello/uml1model/association.cpp
- In function load1:
- Use function Model_Utils::getXmiId to abstract away the difference
in XMI ID attribute (UML1 "xmi.id" vs. UML2 "xmi:id").
- Support loading of association content without an envelope element
such as <Association.connection>, <Association.end> etc.
- Prepare for supporting PapyrusUML element <ownedEnd>.
- In function saveToXMI1, if m_AssocType is a Generalization then do not
produce unused/empty XML attribute "discriminator".
umbrello/version.h
- Increase XMI_FILE_VERSION to "1.7.4" due to changed <UML:Association>.
M +2 -1 umbrello/uml.cpp
M +15 -15 umbrello/uml1model/association.cpp
M +1 -1 umbrello/version.h
https://invent.kde.org/sdk/umbrello/commit/dba3b12e9dfcb0e3eb69e13d56789736b2c4153c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list