Book a Demo

Author Topic: Message drop down shows over-ridden pure virtuals  (Read 11571 times)

tonyhedge

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Message drop down shows over-ridden pure virtuals
« on: May 20, 2009, 06:36:32 pm »
I'm modelling a C++ project using EA7.5.

Class A has a pure vitual function a().
Class B derives from A.
Class C derives from B and implements a().
Class D derives from C.

When I put an object of Class D onto a Communications Diagram, and try to add a Message to the diagram, the MessageProperties/Message drop down list shows me both a's.

I'm still trying to get my head round whether it should - I *think* it probably ought to show all a's except the pure virtual one, but I wouldn't argue with anyone who gave me a convincing argument otherwise!

But is there any way of either (1) hiding the one further up (in this case A::a or (2) showing which is which - ie showing them in the drop-down list as A::a and C::a.

Sorry if this is covered in the documentation (or in this forum) but I can't find it!

Thanks
Tony
"Interrupts happen!"