Author Topic: Override highlighting  (Read 2878 times)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Override highlighting
« on: May 30, 2004, 06:18:38 pm »
Is there a way of making overrides more visible in the class elements?
[size=10]






----------------------------------
|
classb
|
|
ClassA
|
|=================|
| <prop> +PropX():bool|
----------------------------------
[/size]

PropX overrides the same operation in classb.

Surely  ??? there is some way in UML of making this fact visible in the diagram.

Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

StefanR

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Override highlighting
« Reply #1 on: June 03, 2004, 02:37:18 am »
I don't think that the UML-spec mentions how this should be visualized. However, its a good idea to see at a first glance, which operations are overriden an which are introduced new.  What do you think of using a bold font for overriden ops? Another option could be a small icon which indicates that fact. Maybe this is a nice feature for a next version ???

Stefan.

Andreas_G

  • EA User
  • **
  • Posts: 125
  • Karma: +0/-0
  • And that's the way the cookie crumbles.
    • View Profile
Re: Override highlighting
« Reply #2 on: June 03, 2004, 07:51:44 am »
It's not exactly that what you need, but may be it helps to set the operation as virtual, so that it will be italicized.
bye
Andreas