Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: charless on January 08, 2007, 02:16:18 am

Title: Using inherited methods in a Sequence Diagram?
Post by: charless on January 08, 2007, 02:16:18 am
Hi there,

I am a new user to EA and would be very grateful to anyone who can help me with the following problem -

I have an abstract superclass with a non-abstract operation.

I have a subclass that inherits from that superclass. When I set feature visibility in the Class Diagram my subclass shows the inherited operation as expected.

However, when I create an instance of the subclass in a Sequence Diagram the operations list for that instance is empty and doesn't show the inherited operation.

Any ideas what I'm doing wrong?

Thanks
Title: Re: Using inherited methods in a Sequence Diagram?
Post by: Paolo F Cantoni on January 08, 2007, 03:05:06 am
What version of EA are you using?

What is your language settings for both classes?

It seems to work OK for me on build 802.

In the message dropdown, I can see the operations of the parent classes.

HTH,
Paolo
Title: Re: Using inherited methods in a Sequence Diagram?
Post by: charless on January 09, 2007, 01:50:30 am
Hi Paolo,

I'm using Build 801.

I have since saved all the diagrams, closed and re-opened EA...

...and now lo and behold it works!

Maybe the two diagrams weren't synced somehow? Anyway, now the operations appear in my dropdown too.

If I can recreate the error in the future I'll raise it as a bug but maybe it was human error (mine!).

Thanks for your reply