Bug 105564

Summary: not possible to include name nor version into XMI
Product: [Applications] umbrello Reporter: heikki.lehvaslaiho
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description heikki.lehvaslaiho 2005-05-12 22:36:40 UTC
Version:           1.4 (using KDE 3.4.0, Mandrake Linux Cooker i586 - Cooker)
Compiler:          Target: i586-mandrake-linux-gnu
OS:                Linux (i686) release 2.6.11-7mdk-i586-up-1GB

I'd like to include the official name and version of the model into the XMI so that the code generation engine can pass it on. In my case the target is XML Schema which needs to have a version.

This information could be part of the filename, but filenames change when files are passes on and submitted to document storage systems.

The element <UML:Model> in Umbrello does not have id nor name attributes which I've seen in some XMI examples. May be the standard allows for a version attribute, too, although I can not find anything about it in the current XMI specification.

Some sort of Properties dialog accessible from the File menu that allows setting meta data for the UML model would be ideal.
Comment 1 John E. Harbold 2005-05-13 01:12:44 UTC
I agree this is an excellent idea!  One then can keep track of version numbers of a given model in the generated code.
Comment 2 Oliver Kellogg 2005-05-17 00:04:11 UTC
SVN commit 414774 by okellogg:

BUG:105564 - Right click on list view title ("UML Model") changes its name.


 M  +9 -0      trunk/KDE/kdesdk/umbrello/umbrello/listpopupmenu.cpp  
 M  +2 -2      trunk/KDE/kdesdk/umbrello/umbrello/listpopupmenu.h  
 M  +47 -14    trunk/KDE/kdesdk/umbrello/umbrello/umllistview.cpp  
 M  +3 -0      trunk/KDE/kdesdk/umbrello/umbrello/umllistview.h  
 M  +1 -0      trunk/KDE/kdesdk/umbrello/umbrello/umlnamespace.h