Book a Demo

Author Topic: Coloring Enumerations  (Read 6117 times)

Volker Wegert HELIOS

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Coloring Enumerations
« 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

beginner

  • Guest
Re: Coloring Enumerations
« Reply #1 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.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Coloring Enumerations
« Reply #2 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
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

beginner

  • Guest
Re: Coloring Enumerations
« Reply #3 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.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Coloring Enumerations
« Reply #4 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
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

beginner

  • Guest
Re: Coloring Enumerations
« Reply #5 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.

Volker Wegert HELIOS

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Coloring Enumerations
« Reply #6 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

Volker Wegert HELIOS

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Coloring Enumerations
« Reply #7 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.

beginner

  • Guest
Re: Coloring Enumerations
« Reply #8 on: October 11, 2010, 06:46:35 pm »
Please, just me. Paolo did help, else I would not understand your previous post.

b.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Coloring Enumerations
« Reply #9 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
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Coloring Enumerations
« Reply #10 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

Paolo

Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Coloring Enumerations
« Reply #11 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