Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started 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
-
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
-
i think you have to do it via addin.
-
Thanks, that what I thought!