Override Using the Dialog

To override an inherited constraint, in the Editor, right click inside a ‘’class’’ body > Source > Override Constraints to open the override constraints dialog. Alternatively you can hit Ctrl+Space in the Editor and select Override Constraints.

Select the constraints you want to override and press OK.

../../_images/vlogdt-override-constraint-window.png

The empty body of the overridden constraints will be placed inside the class body at the cursor position:

../../_images/vlogdt-override-constraint-added-code.png

Select “Insert as extern prototype and implementation” to insert the overridden constraints by placing the extern prototype at the cursor position and the implementation outside the class body.

../../_images/vlogdt-override-constraint-extern.png

Tip

You can change the constraint signature by editing the Constraint Code Templates