Author Topic: Set Element Colour on UML Profile  (Read 4011 times)

ADucci

  • EA Novice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Set Element Colour on UML Profile
« on: March 25, 2014, 09:25:17 pm »
I have created a UML Profile, and on that profile, have extended a normal class meta-type with a new stereotype.

I have set the background colour of my new stereotype element and exported the profile as per:
http://www.sparxsystems.com/enterprise_architect_user_guide/9.0/standard_uml_models/importingprofiles.html instructions

This does not seem to work as expected, the new elements color is unchanged and when looking at the profile.xml file, I see that the bgcolor property is "-1"  indicating that the colour attribute did not pull through.

Is this an EA Bug, or have I just done something wrong.

Thanks
Anthony

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Set Element Colour on UML Profile
« Reply #1 on: March 25, 2014, 09:35:35 pm »
Shape information is only exported if you export the diagram rather than the package as profile. Maybe that is your issue?

q.

ADucci

  • EA Novice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Set Element Colour on UML Profile
« Reply #2 on: March 26, 2014, 05:45:49 pm »
Problem Solved (as per EA support guys)

I was using the color palette on the toolbar to define the color,

I should have selected the element -> Appearance --> Default Appearance  to change the color.

Thanks.