Author Topic: How to show partial stereotype name?  (Read 5418 times)

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
How to show partial stereotype name?
« on: January 14, 2016, 07:33:14 am »
Hi,

I have some elements that are stereotyped "TOGAF::Capability".

This is also how it shows up on my diagram.

I want to show the stereotype but I would like to show it as "Capability" without the "TOGAF::" prefix and it complicates the message for the end user.

Is there a way to do this other than creating my own Capability stereotype?

Thanks!


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to show partial stereotype name?
« Reply #1 on: January 14, 2016, 07:59:27 am »
You need to install the TOGAF MDG. That will interpret the stereotype and display the correct picture.

q.

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Re: How to show partial stereotype name?
« Reply #2 on: January 14, 2016, 08:07:18 am »
You need to install the TOGAF MDG. That will interpret the stereotype and display the correct picture.

q.
It is installed and active. That is how I was able to choose that stereotype.

Or perhaps I'm missing something...

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Re: How to show partial stereotype name?
« Reply #3 on: January 14, 2016, 08:19:07 am »
Further clue:

This happened when I changed the stereotype from something else.

If I create a new element with the TOGAF Capabiltiy then it shows how I want.

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Re: How to show partial stereotype name?
« Reply #4 on: January 14, 2016, 08:32:43 am »
How to duplicate the issue:

Create an element with stereotype of Business Function (from TOGAF profile).
Change stereotype to Capability (From TOGAF Profile).

Stereotype now shows as TOGAG::Capability.

Create new element with stereotype of Capability from TOGAF profile.
Stereoptype shows as "Capability" without the "TOGAF::" qualifier.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to show partial stereotype name?
« Reply #5 on: January 14, 2016, 08:54:52 am »
I don't have the TOGAF MDG so I can't verify that. Check if the Business Function and the Capability have the same meta type. If not, then this might be the cause. If they are the same you should probably report that as a bug.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: How to show partial stereotype name?
« Reply #6 on: January 14, 2016, 09:10:07 am »
I don't have the TOGAF MDG so I can't verify that. Check if the Business Function and the Capability have the same meta type. If not, then this might be the cause.

^ this.

TOGAF::BusinessFunction extends UML::Activity and TOGAF::Capability extends UML::Class, so they aren't really substitutable.
The Sparx Team
[email protected]

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Re: How to show partial stereotype name?
« Reply #7 on: January 14, 2016, 09:21:17 am »
I don't have the TOGAF MDG so I can't verify that. Check if the Business Function and the Capability have the same meta type. If not, then this might be the cause.

^ this.

TOGAF::BusinessFunction extends UML::Activity and TOGAF::Capability extends UML::Class, so they aren't really substitutable.
Yes! Thank you!
Related question: so far the only way I know to determine what extends what is to do an csv export and look at it.

Is there a better way?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: How to show partial stereotype name?
« Reply #8 on: January 14, 2016, 09:37:27 am »
Create one and remove its stereotype, see what's left.
The Sparx Team
[email protected]

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Re: How to show partial stereotype name?
« Reply #9 on: January 14, 2016, 12:12:14 pm »
Thanks!