Book a Demo

Author Topic: MDG or addin  (Read 3912 times)

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
MDG or addin
« on: April 20, 2012, 06:17:45 pm »
Hi
I am developing a MDG for my projects.
One aspect of this is providing a class with a particular stereotype, which I have done.
Now when a user creates a class of this type I need to make it automatically derive from a given class(i dont want this shown on the diagram).
Can this be achieved in the MDG or would I need to add a connector in an addin by using the EA_OnPostNewElement event?

any advice gratefully received

Maggie

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: MDG or addin
« Reply #1 on: April 20, 2012, 06:26:34 pm »
Hi,

I don't think there's a way to achieve this in the MDG profile, but others may know better.
I would go for the AddIn doing that.

HTH
Günther

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: MDG or addin
« Reply #2 on: April 20, 2012, 06:27:32 pm »
i think you have to do it via addin.

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: MDG or addin
« Reply #3 on: April 20, 2012, 06:54:15 pm »
Thanks, that what I thought!