Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: skiwi on August 07, 2013, 10:20:58 am
-
I'm doing some data modelling (Data vault with hubs, links, and sats).
We are modelling using tables (a stereotype of class).
We have a naming convention of hub_name, lnk_name, sat_name.
I'm looking for a means of automatically applying a different background colour for each of hub, lnk, and sat.
I'd appreciate it if you could suggest an approach.
I tried creating a hub stereotype of table, but the stereotype reverted to a class (loosing all the table datamodelling customisation).
I tried creating a hub stereotype of class, but I don;t understand how to obtain the table entity behaviour.
-
You probably need to catch the OnPostNewElement event and color the element there.
q.
-
Urrk, Yes, thanks, I was hoping not to have to delve into the internals or scripting, thats why I looked at stereotyping, but it seems table steroetype has a built in secret sauce