Author Topic: Extend a profile  (Read 4164 times)

MeryemAdb

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Extend a profile
« on: December 16, 2015, 12:32:58 am »
Hello,

I have a UML profile defined in a technology file (loaded from an add-in with EA_OnInitializeTechnologies).

I want to create a new technology file (also loaded from a different add-in) with the definition of a new type of diagram, and I'd like to be able to modify the appearance of some stereotypes defined in my technology A when they appear on the diagram defined in B. Is there a way to do so ?

So far I tried to redefine some stereotypes of A in B, but I'd have to make sure B is loaded after A, which I do not know how to do.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Extend a profile
« Reply #1 on: December 16, 2015, 01:22:48 am »
Sure. You can extend your own MDG like you would do for example with Archimate.

q.

MeryemAdb

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Extend a profile
« Reply #2 on: December 19, 2015, 02:49:05 am »
That's great news !

How ?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Extend a profile
« Reply #3 on: December 19, 2015, 03:27:42 am »
Well, just add a metaclass from your existing MDG (use the drop down to choose your MDG and select the metaclass you want to extend). Then create a stereotype in the extending MDG and draw a <<extends>> relation.

q.