[umbrello] [Bug 425156] Template typenames in attribute and operation parameter types don't work

Robert Hairgrove bugzilla_noreply at kde.org
Mon Aug 10 12:16:07 BST 2020


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

--- Comment #8 from Robert Hairgrove <code at roberthairgrove.com> ---
(In reply to Ralf Habacker from comment #4)
> (In reply to Robert Hairgrove from comment #3)
> > Is there any reason why the type must be a UMLClassifier?
> 
> Types may be classes and therefore need to be a UMLClassifier

The problem is, we can select a template from the "type" list for the types of
lots of different things. Everything else in the list is either a datatype or a
class name. Indeed, the type of a template parameter is "class", unless some
integral expression or type with external linkage is specified.

So template parameters SHOULD be considered classifiers, but they aren't -- at
least not in Umbrello.

What I am looking at now is how to properly load and save these in the XMI
file. I've looked at XMI files produced by other applications, for example
Modelio, and I have the XMI reference as a PDF file. But every other UML tool
uses a different format.

How interchangeable does this have to be? Code generation and reverse
engineering needs to be looked at here as well. Since templates have been part
of UML for some time, I don't see why we cannot make this work somehow.

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


More information about the umbrello-devel mailing list