Book a Demo

Author Topic: Can I modify the standard UML types?  (Read 2837 times)

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Can I modify the standard UML types?
« on: October 25, 2019, 06:00:55 am »
Ok, so I am in the midst of creating an MDG where I intend mixing standard UML with a relatively small handful of new stereotypes.

However, I would like to modify the behaviour of a number the standard UML elements (tagged values, properties & shape scripts):

1. Without having to define completely different stereotypes.
2. And have the existing toolboxes that come native with UML keep working.

That is, I would like the users to be able to create a standard UML diagram, drag elements onto that diagram as per normal but have those elements appear with extra tagged values, shape scripts and properties.

It seems like the Profile Generalize relationship might do this, but I can't seem to figure out how.

Any help is appreciated.

Cheers :-)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Can I modify the standard UML types?
« Reply #1 on: October 25, 2019, 06:58:22 am »
I think you got it wrong. Your MDG shall fake another profile (the default UML) and pretend it's still UML. That's just the wrong approach. If you extend any profile you have a new one.

q.

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Re: Can I modify the standard UML types?
« Reply #2 on: October 25, 2019, 07:05:42 am »
Ok, so I need to create a whole new set of diagrams that reference my extended elements instead?

Cheers :-)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Can I modify the standard UML types?
« Reply #3 on: October 25, 2019, 03:17:14 pm »
Notwithstanding the fact that it might be the wrong approach, I think it is technically possible (at least with existing stereotypes such as the ones from ArchiMate)
https://sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/redefine_ster_other_prof.html
I'm not sure if this also applies to the the default UML types.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Can I modify the standard UML types?
« Reply #4 on: October 28, 2019, 09:53:35 am »
The simplest approach to achieve what you want is to use a template package