Author Topic: Stereotypes and tag groupings  (Read 14461 times)

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1311
  • Karma: +120/-10
  • Its the results that count
    • View Profile
Stereotypes and tag groupings
« 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?
« Last Edit: November 30, 2021, 07:42:31 pm by Sunshine »
Happy to help
:)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8597
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Stereotypes and tag groupings
« Reply #1 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...]
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13283
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotypes and tag groupings
« Reply #2 on: November 29, 2021, 10:58:37 pm »
Have you tried keeping the extension to UML component and adding the taggrouping attributes there?

Geert

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1311
  • Karma: +120/-10
  • Its the results that count
    • View Profile
Re: Stereotypes and tag groupings
« Reply #3 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.
« Last Edit: November 30, 2021, 07:46:56 pm by Sunshine »
Happy to help
:)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13283
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotypes and tag groupings
« Reply #4 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

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1311
  • Karma: +120/-10
  • Its the results that count
    • View Profile
Re: Stereotypes and tag groupings
« Reply #5 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
« Last Edit: December 01, 2021, 05:33:06 pm by Sunshine »
Happy to help
:)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Stereotypes and tag groupings
« Reply #6 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.