Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on April 06, 2010, 09:20:22 pm

Title: _defaultDiagramType - how to create multiple?
Post by: Paolo F Cantoni on April 06, 2010, 09:20:22 pm
The EA Help shows how to define a default diagram type for a specific stereotype.

However, the _defaultDiagramType attribute is applied to the metatype, not the stereotype (don't really understand why, perhaps someone could enlighten me).

So how does one make different default diagram types where you have more than one stereotype extending the same metaclass?

Do you create more than one metaclass element (one for each diagram type)?

TIA,
Paolo
Title: Re: _defaultDiagramType - how to create multiple?
Post by: Eve on April 07, 2010, 08:34:05 am
Yes you do.  No, I don't know why you put it on the metaclass.