Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Volker Wegert HELIOS on October 09, 2010, 02:17:24 am

Title: Coloring Enumerations
Post by: Volker Wegert HELIOS on October 09, 2010, 02:17:24 am
Hello,

I've created a class diagram and placed some classes with different stereotypes and some enumerations. I can change the background color of the classes according to the stereotypes by changing the settings in Settings - UML. However, I can't seem to change the background color of the enumerations. Changing the color in the Tools - UML dialog doesn't seem to do anything. Is this a bug or am I missing something?

Thanks
  Volker
Title: Re: Coloring Enumerations
Post by: beginner on October 09, 2010, 06:27:33 am
Seems to be a bug. Send a bug report (see link at bottom of the page).

b.
Title: Re: Coloring Enumerations
Post by: Paolo F Cantoni on October 09, 2010, 06:16:04 pm
One of the in-built MDGs governs the rendering of Enumerations.

If you disable all of then - temporarily, your enumeration stereotype will respond.   MDGs have higher priority than local definitions.

There is also a bug - not yet fixed IIRC that causes EA to select the wrong stereotype when there are more than one with the same name in different MDGs.

If they fix the bug I mentioned, your experience may change,

HTH,
Paolo
Title: Re: Coloring Enumerations
Post by: beginner on October 09, 2010, 11:08:24 pm
Volker was referring to Settings/UML/enumeration. This does not react on changing the fill color. So this is definitely a bug.

b.
Title: Re: Coloring Enumerations
Post by: Paolo F Cantoni on October 10, 2010, 04:51:56 pm
Quote
Volker was referring to Settings/UML/enumeration. This does not react on changing the fill color. So this is definitely a bug.

b.
So was I...  Go into Settings|MDG Technologies and disable all of them (including basic UML), restart and Enumerations WILL respond to the Settings|UML... values.

Turn Basic UML MDG back on (and restart) and your own settings go away.

It's a bug, Jim, but not as we know it... :)

Paolo
Title: Re: Coloring Enumerations
Post by: beginner on October 10, 2010, 10:14:49 pm
You're already too deep in that scheiß. This whole stereotype stuff is so overloaded, nobody (except you?) knows what's going on...

b.
Title: Re: Coloring Enumerations
Post by: Volker Wegert HELIOS on October 11, 2010, 05:57:01 pm
Quote
Go into Settings|MDG Technologies and disable all of them (including basic UML), restart and Enumerations WILL respond to the Settings|UML... values.

Turn Basic UML MDG back on (and restart) and your own settings go away.

Thanks, turning the MDG profiles off worked. The question is, can I keep them turned off? What do I loose?

Thanks
  Volker
Title: Re: Coloring Enumerations
Post by: Volker Wegert HELIOS on October 11, 2010, 05:57:39 pm
Quote
You're already too deep in that scheiß. This whole stereotype stuff is so overloaded, nobody (except you?) knows what's going on...

Sorry to say, but you're both impolite and unhelpful.
Title: Re: Coloring Enumerations
Post by: beginner on October 11, 2010, 06:46:35 pm
Please, just me. Paolo did help, else I would not understand your previous post.

b.
Title: Re: Coloring Enumerations
Post by: Paolo F Cantoni on October 12, 2010, 11:44:35 am
Quote
Thanks, turning the MDG profiles off worked. The question is, can I keep them turned off? What do I loose?

Thanks
  Volker
Hi Volker,

I don't think the Basic UML MDG should be turned off - the Sparxians, perhaps, should comment on it.

I think it's probably a bug.  In the absence of any rationale, it seems to me (my favourite word) inconsistent that enumerations are treated this differently.  

Please report a bug using the links below.  I probably have previously reported it, but I don't think it was in the context of this specific issue.

Paolo
Title: Re: Coloring Enumerations
Post by: Paolo F Cantoni on October 12, 2010, 11:53:07 am
Quote
Quote
You're already too deep in that scheiß. This whole stereotype stuff is so overloaded, nobody (except you?) knows what's going on...

Sorry to say, but you're both impolite and unhelpful.
Volker,

b is just frustrated...  He's not normally impolite and unhelpful (and I don't think he was in this case, either).  b has just been around EA too long.

This issue of profiles, stereotypes and shapescripts is quite murky (so scheiß might not be inappropriate).  You can search for postings by me within the last year on these subjects.  For example: Consistent Diagram Item rendering proposal (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1272886538)

Paolo

Title: Re: Coloring Enumerations
Post by: Geert Bellekens on October 18, 2010, 04:22:21 pm
Quote
b is just frustrated...  He's not normally impolite and unhelpful (and I don't think he was in this case, either).  b has just been around EA too long.
Yes, you have to have a strong stomach and a thick skin to not get frustrated and stay positive after years of using EA.

Geert