How To : Adding a Function or Field Override
Contents |
[edit] Description
This document describes how to add function and field overrides.
[edit] Prerequisites
Understanding Function and Field Overrides
Functions
Class
Understanding Bungee Logic
Understanding Solutions and Projects
Creating a Solution
Adding a Project to a Solution
[edit] Procedure
To add a function override to a class:
- Right-click on the class and select Add Override. A dialog box is displayed containing all of the available fields and functions that can be overriden.
- Select the function you want to override in the left column of the dialog box and click the >> button (alternatively, double click the fuction in the left column to add it to the right column).
- Click OK to add the function override to the class.
- The function override has a light blue icon instead of a purple icon, indicating this is an override.
- In the Solution Detail, double-click the function to open it in the Design Editor.
- Add Bungee Logic statements for the desired functionality.
To delete a function override from a class:
- Select the function override.
- Click the Delete icon (red X) at the top of the Solution Detail.
To add a field override to a class:
- Right-click on the class and select Add Override. A dialog box is displayed containing all of the available fields and functions that can be overriden.
- Select the field you want to override in the left column of the dialog box and click the >> button (alternatively, double click the fuction in the left column to add it to the right column).
- Click OK to add the field override to the class.
- The field override has a light blue icon instead of a green icon, indicating this is an override.
- In the Solution Detail, select the field override.
- In the Property Editor, change/set the properties for the field.
To delete a function override from a class:
- Select the field override.
- Click the Delete icon (red X) at the top of the Solution Detail.
[edit] Error Handling
[edit] Examples