Author Topic: Stereotype is not shown in the correct toolbox page  (Read 532 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Stereotype is not shown in the correct toolbox page
« on: May 26, 2025, 11:33:32 pm »
Details:

I have defined my own diagram type and toolbox.
Then I defined a view specification extending my diagram, that exposes certain stereotypes.
For the most part this works fine, except for one connector stereotype: ArchiMate3::ArchiMate_Realization
All stereotypes show up in the toolbox page I had defined for them, except for the Realization. That comes up in the toolbox page with the name of my view specifications (as if I didn't add it to a toolbox page)

Steps to reproduce
- Import the attached MDG technology file
- Create a new diagram of type Architecture::Solution Context Viewpoint
- Notice the Realization in the toolbox page Solution Context Viewpoint (instead of the toolbox page Structural Relationships"

Reported

Did anyone encounter this issues and know a solution?

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotype is not shown in the correct toolbox page
« Reply #1 on: May 27, 2025, 09:22:04 pm »
I found the issue. I had defined the toolbox item as
- ArchiMate_Realization(UML::Realization)
But in after looking in the MDG technology for ArchiMate 3, I found that the stereotype ArchiMate_Realization was actually an extension of UML Dependency, and not of UML Realization.
After changing my toolbox item definition to
- ArchiMate_Realization(UML::Dependency)
The problem was solved.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Stereotype is not shown in the correct toolbox page
« Reply #2 on: May 28, 2025, 08:38:24 am »
I found the issue. I had defined the toolbox item as
- ArchiMate_Realization(UML::Realization)
But in after looking in the MDG technology for ArchiMate 3, I found that the stereotype ArchiMate_Realization was actually an extension of UML Dependency, and not of UML Realization.
After changing my toolbox item definition to
- ArchiMate_Realization(UML::Dependency)
The problem was solved.

Geert
Yes, I've been caught by that kind of "discrepancy" before.  Can you see any rationale for this?  (not blaming Sparx, just observing anomaly in the standard)

Paolo
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: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Stereotype is not shown in the correct toolbox page
« Reply #3 on: May 28, 2025, 03:34:54 pm »
Yes, I've been caught by that kind of "discrepancy" before.  Can you see any rationale for this?  (not blaming Sparx, just observing anomaly in the standard)

Paolo
Not really. The weird thing was that it worked perfectly as a toolbox item, so there was no reason to suspect it was defined wrong.
Usually if you type half a comma wrong in the MDG game, it doesn't work at all (without telling you the reason of course)

Geert

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
Re: Stereotype is not shown in the correct toolbox page
« Reply #4 on: June 04, 2025, 12:26:39 am »
Quote from: Paolo F Cantoni
Yes, I've been caught by that kind of "discrepancy" before.  Can you see any rationale for this?  (not blaming Sparx, just observing anomaly in the standard)
Paolo

I am not the expert, but the reason could be that "Dependency" is a "Type" and "Realization" a "Subtype".
« Last Edit: June 04, 2025, 02:43:23 am by Viking »