Templates

If you are working with Parameterized Classes or Binding Classes, you can use the 'Templates' tab of the Class's 'Properties' dialog to define:

  • The Parameterized Class template parameters and
  • The Binding expressions on a Binding Class

Access On a diagram or in the Project Browser, double-click on element > Templates

In the 'Template Parameter(s)' panel, click on the Add button to add a new parameter, or click on an existing parameter and on the Edit button to edit the parameter; in either case, the 'Template Parameter' dialog displays.

In the 'Binding(s)' panel, click on the Add button to add a new binding expression or click on an existing expression and on the Edit button to edit the expression. When you click on the Add button, a short context menu displays from which you select the type of relationship to generate, and then you define the binding expressions.

If either a template parameter or a binding expression is no longer required, click on it and then click on the corresponding Delete button.

Learn more