Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started by: philchudley on November 06, 2009, 08:25:52 pm
-
Hi all
I have created a profile which defines a stereotype (it's extending UML::Activity) and added attributes which will eventually become tagged values.
The type of these tagged values are String, Enum and Memo
The first two are no problem, for the Memo, I created a tagged value (Settings | UML... | Tagged Value Types) and set the name (and type) of the attribute to the same name as the Tagged Value
I save the profile in the usual way
I start creating the MDG (Tools | Generate MDG Technology File ...) and work through the Wizard creating a an MTS file
The Tagged Value page correctlt identifies my new tagged value which I add to the MDG
All is fine.
The MDG is enabled through the Settings | MDG Technologies ... by setting the file path to my MDG file
I begin a new EA project (after restarting EA) and the profile works, the toolbox works and I can create my new elements.
All the tagged values are there in my elements, BUT the tagged value which should be a Memo, is just a simple string.
A quick check on Settings | UML... |Tagged Value Types confirms that my Memo tagged value has not been "imported" by the MDG
The XML content of the MDG looks fine
If I export the Tagged Values as a resource and import them all works fine.
It was my understanding that the Tagged Values in and MDG should be available to all projects using that MDG, or am I doing something wrong?
It all seems to work, except when using pre-defined tagged value types.
-
Maybe it is a bug. I have the same problems with images. It is under investigation as a bug. Best idea is to send your MDG technology as a bug report.