Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Sunshine on November 29, 2021, 07:00:02 pm
-
I've been using tag grouping in a custom MDG for years with a stereotype extending a UML component. Now I want to change the stereotype to generalise an Archimate3::ArchiMate_ApplicationComponent metatype so I switch it over. However I noticed the tag groupings don't seem to work anymore when I put the special tags in the Archimate Metatype.
i.e these
- _tagGroups to define the group names
- _tagGroupings to define which tags go into each group
- _tagGroupStates to define which tag groups are initially expanded in the 'Tags' tab of the Properties window, which are collapsed.
Any ideas why? Is it a bug?
-
I've been using tag grouping in a custom MDG for years with a stereotype extending a UML component. Now I want to change the stereotype to generalise an Archimate3::ArchiMate_ApplicationComponent metatype so I switch it over. However I noticed the tag groupings don't seem to work anymore when I put the special tags in the Archimate Metatype.
i.e these
_tagGroups to define the group names
_tagGroupings to define which tags go into each group
_tagGroupStates to define which tag groups are initially expanded in the 'Tags' tab of the Properties window,
which are collapsed.
Any ideas why? Is it a bug?
Which EA versions?
Paolo
[Note: I haven't used tag groupings much in the past, but was intending to so shortly. But if there are issues...]
-
Have you tried keeping the extension to UML component and adding the taggrouping attributes there?
Geert
-
Using V15.2
Yes originally extended uml component and the tag grouping worked fine in the stereotypes. When I tried switching to generalising an archimate component the tag values appear in the stereotype but aren't grouped any more. Kind of baffling as the only thing I changed was the uml component to archimate component and the extending relationship to generalisation. Thought it was going to be straight forward but I was wrong.
Aiming to extended archimate notation by adding a number of attributes to some of the elements with tagged values.
-
Using V15.2
Yes originally extended uml component and the tag grouping worked fine in the stereotypes. When I tried switching to generalising an archimate component the tag values appear in the stereotype but aren't grouped any more. Kind of baffling as the only thing I changed was the uml component to archimate component and the extending relationship to generalisation. Thought it was going to be straight forward but I was wrong.
Aiming to extended archimate notation by adding a number of attributes to some of the elements with tagged values.
I meant keep the extension to UML Component AND the generalization to ArchiMate component.
This used to be mandatory (not anymore now) and therefore the mechanism is still backwards compatible.
There's a good chance your grouping will work if you do it like that.
Geert
-
Ahh right I get what you are saying now. Just tried it out and that seems to fix it. Thanks
-
I had this issue too. I consider it a bug since the generalization should clearly inherit the extension. But we all know: it's EA.
q.