I' m working on a uml deployment diagram with some "device" nodes. To each of the device nodes, I added some custom tagged values, indicated that they should be shown on the diagram, (feature visiblility --> show element compartments -->tags), and then changed the appearance by selecting an alternate image. This works nice: the "device" has the desired image, and the tags are shown in a "floating" label/compartment that i can move around to place exactly where I want it to be.
Then I created a UML profile, to standardize the the list of tags for a certain list of devices, and in the profile I also changed the appearance of the device types as desired.
So far so good: my profile works fine: appearance is "as desired" and the tags are present.
However: now I want to show these tagged values on the diagram, just the way they were shown before using the profile: i.e. a floating label with the standard tags along with some custom tags that differ form device to device. And.. this doesn't work.:-(
I already tried the following
In my model:
- @diagram level: properties --> elements --> show compartments --> tags
- @element level: feature visiblility --> show element compartments --> tags
In the profile: added attribute "_Tag" with value "1" to metaclass "Device". The latter results in model elements that indeed have the "show element compartements --> tag" flag selected, but the tags are not shown on the diagram.
One possible way out, would be to write a shapescript, to explicitly display certain tags, and add it to the profile.
But that doesn't completely solve my problem, as I also want to be able to display custom added element tags.
Another workaround is: not including the alternate image in the profile, and applying it after creating the model elements using the profile. But this makes my "toolbox" a lot less interesting.
Is this a bug, or am I doing something wrong?