Author Topic: _defaultDiagramType - how to create multiple?  (Read 4339 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8598
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
_defaultDiagramType - how to create multiple?
« 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
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8063
  • Karma: +118/-20
    • View Profile
Re: _defaultDiagramType - how to create multiple?
« Reply #1 on: April 07, 2010, 08:34:05 am »
Yes you do.  No, I don't know why you put it on the metaclass.