Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Dave_Bullet on December 10, 2008, 08:45:59 am
-
Sparx gurus,
Can I default the diagram.stereotype in my MDG?
Reason being, I want to be able to test for the type of custom diagram in my shapescript. I have the following available:
diagram.name = the name the user gives the diagram (no good as user can call it anything)
diagram.type = the base underlying EA type. No good if I have several diagrams based on the same type (cannot distinguish between them or even vanilla EA diagrams)
diagram.stereotype = always blank. My idea is to default it for each new diagram then I can test in shapescript
Is defaulting the diagram stereotype possible? If so - do I put something on the UML PRofile diagram that defines my diagrams, or on the stereotype or base metaclass for the custom diagram type?
Thanks,
David.
-
That's a definite oversight - pop in a bug report (http://www.sparxsystems.com/support/bug_report.html) and hopefully we can add it for EA 7.5
-
Thanks for your quick reply.
I've logged a registered user's bug as requested.
Thanks,
David.