Creating a type definition
You can create a Type Definition through a Class Diagram or a Modeler pane.
To create a type definition through a class diagram:
1. On the Class Diagram tab, click the Type Definition button, and then click on the diagram in free space or within a Package.
If you click within a Package on the diagram, the Type Definition is created as a child item of that Package.
2. Type the name of the Type Definition, and then press the Enter key.
By default, Modeler creates a Type Definition of Enumeration construction. If you want to change the construction to Alias, Sequence or Array, you can do so through the Options tab of the Type Definition's property pages.
To create a type definition through a Modeler pane:
1. In a Modeler pane, locate the item that is to own the Type Definition, that is, a Package, Class, Interface, Signal or the Model.
2. Right-click the owning item, and select New > Typedef > Alias, Array, Enumeration or Sequence or select New > UML > Structure > Typedef > Alias, Array, Enumeration or Sequence.
3. Type the name of the Type Definition, and then press the Enter key.