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

Oliver Kellogg okellogg at users.sourceforge.net
Fri Jul 25 04:15:29 UTC 2014


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

--- Comment #74 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 811994e78a0bf02ff0e717de67cd32da66d0b9af by Oliver Kellogg.
Committed on 25/07/2014 at 04:12.
Pushed by okellogg into branch 'master'.

(In reply to Oliver Kellogg from comment #73)
> Created attachment 87920 [details]
> Demo file for the format generated by Embarcadero's "Describe" UML tool
> [...]
> Umbrello does not complain on loading - but nothing is actually imported.

The following changes add support for loading the demo file:

umbrello/{association,classifier,enum,operation,package}.cpp function load()
- Support special tags used by Embarcadero Describe.

umbrello/object_factory.cpp function makeObjectFromXMI()
- Support association special tag <UML:Aggregation> used by Embarcadero.

umbrello/umldoc.cpp
- In function loadFromXMI(), support <UML:Model> equivalent tag <UML:Project>
  used by Embarcadero Describe.
- In function loadUMLObjectsFromXMI(), support <UML:Namespace.ownedElement>
  equivalent tag <UML:Element.ownedElement> used by Embarcadero Describe.

umbrello/umlobject.cpp fuction loadFromXMI()
- Generate new UniqueID for all cases of non existent xmi id.
- Downgrade non existence of xmi.id from error to warning.

M  +9    -4    umbrello/association.cpp
M  +1    -0    umbrello/classifier.cpp
M  +4    -1    umbrello/enum.cpp
M  +2    -0    umbrello/object_factory.cpp
M  +17   -12   umbrello/operation.cpp
M  +1    -0    umbrello/package.cpp
M  +2    -0    umbrello/umldoc.cpp
M  +4    -8    umbrello/umlobject.cpp

http://commits.kde.org/umbrello/811994e78a0bf02ff0e717de67cd32da66d0b9af

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


More information about the umbrello-devel mailing list