Override Parent Operations

Return to Introduction  Previous page  Next page

It is possible in Enterprise Architect to automatically override methods from parent classes and from realized interfaces.

Select a class that has a parent or realized interface and select the Element | Advanced | Overrides & Implementations menu option.

In the Override Operations/Interfaces dialog, check the operations/interfaces to automatically override and click on the OK button. Enterprise Architect generates the equivalent function definitions in your child class.


It is possible to configure Enterprise Architect to display this dialog each time you add a Generalization or Realization link between classes, and review their possible operations/interfaces to override/implement. Do this from the Links page of the Options dialog (select the Tools | Options | Links menu option).