Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Sunshine on November 29, 2021, 07:00:02 pm

Title: Stereotypes and tag groupings
Post 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

Any ideas why? Is it a bug?
Title: Re: Stereotypes and tag groupings
Post by: Paolo F Cantoni on November 29, 2021, 07:07:14 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?
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...]
Title: Re: Stereotypes and tag groupings
Post by: Geert Bellekens on November 29, 2021, 10:58:37 pm
Have you tried keeping the extension to UML component and adding the taggrouping attributes there?

Geert
Title: Re: Stereotypes and tag groupings
Post by: Sunshine on November 30, 2021, 07:39:22 pm
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.
Title: Re: Stereotypes and tag groupings
Post by: Geert Bellekens on November 30, 2021, 08:30:08 pm
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
Title: Re: Stereotypes and tag groupings
Post by: Sunshine on December 01, 2021, 03:34:54 pm
Ahh right I get what you are saying now. Just tried it out and that seems to fix it. Thanks
Title: Re: Stereotypes and tag groupings
Post by: qwerty on December 01, 2021, 11:08:47 pm
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.