Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Maggie on April 20, 2012, 06:17:45 pm

Title: MDG or addin
Post by: Maggie 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
Title: Re: MDG or addin
Post by: Makulik 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
Title: Re: MDG or addin
Post by: stao on April 20, 2012, 06:27:32 pm
i think you have to do it via addin.
Title: Re: MDG or addin
Post by: Maggie on April 20, 2012, 06:54:15 pm
Thanks, that what I thought!