Book a Demo

Author Topic: Stereotype background color  (Read 4022 times)

kepNCI

  • EA User
  • **
  • Posts: 127
  • Karma: +1/-0
    • View Profile
Stereotype background color
« on: April 26, 2012, 01:16:33 am »
I think I must have been dreaming. In my MDG model I had 3 stereotype elements extended from the same metaclass element. I gave the background a different color for each stereotype. When using the model to create a new element on a diagram, the element would have the background color of the profile's stereotype.

I thought that was all I needed to do, but now the profile xml is not picking up my background color (or font color), but instead setting it to the defaults, so now when I create a new element from any of the 3 stereotypes, they all look the same, even though when I saved the profile XML, I have the color and appearance checked.

Seems the only way to get it to work is on my stereotype in myprofile I must now set the background via the Appearance/Default Appearance.

Was it always this way?

(not sure if this had anything to do with it, but seems I had to use the Appearace/Default Appearance option after using a _metatype attribute in the stereotype. I think that may be just a coincidence.)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Stereotype background color
« Reply #1 on: April 26, 2012, 01:30:56 am »
Debugging MDGs is like poking in the mist. I have a stereotype with color which, when applied to any element, will color it red.

q.