Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: bITs.EA on April 16, 2014, 12:43:04 am

Title: MDG: disable "show package content" for diagrams
Post by: bITs.EA on April 16, 2014, 12:43:04 am
Hi

I'm making my own MDG. For certain diagrams, I don't want to show the elements' package content (when I drag and drop a package onto the diagram).

How can I make this a default property of my diagram (in my MDG). In the "Edit with Profile Helper" properties, there are a lot of properties but I can't find the "ShowPackageContents" property. (In the database, there is a separate column in t_diagram for this property : "ShowPackageContents").

Thanks!

S.
Title: Re: MDG: disable "show package content" for diagra
Post by: KP on April 16, 2014, 09:08:23 am
It looks like that property hasn't been opened up for diagram profiles to change. I'd guess it's simply because nobody has asked for it yet, so worth putting in a bug report.

In the mean time, I think your choices are an add-in that responds to the EA_OnPostNewDiagram broadcast, or use a Project Template Package.