I have a class diagram with Class A with method hello() and a class B that derives from A.
They are linked with a ‘generalize’.
However i can not seem to produce an overidden method of hello() in class B diagram.
This is required to provide implementation documentation.
Please advise on how to achieve the above.
You need to Copy the operation from the superclass to the subclass. Steps:
- Right-click on the Superclass and select Move/Copy members from the popup menu.
- From the Move/Copy Class Members dialog box, select the operation to be override.
- Press >>
- Select the Subclass to be sent to
- Press OK
Hope this helps.