Hide overridden methods

Is it possible to hide/remove all class members which override some method from the superclass / one of the implemented interfaces ?

E.g if a class Foo has a member void doBar(); and Foo2 extends Foo then in the class diagram i’d like to see doBar() in only Foo, not Foo2.

Hi Mouse,

Thanks for your post. You can simply right-click on the operation you want to hide and select Selection > Hide. If you want to hide multiple operations on a class, you can right-click on the class and select Presentation Options > Operations > Customized to specify which operations to be shown/hidden. Hope this helps.

Best regards,
Lilian Wong

Thank you!

Although I was hoping to be able to select something like “hide all overrides” so that i don’t have to select which ones to hide myself, at least I don’t have to delete them from the model now.

Hi Mouse,

You are welcome. By the way, right-click on the class and select Presentation Options > Operations > Customized can help you to hide/show multiple operations so you don’t need to hide/show operations one by one.

Best regards,
Lilian Wong