Creating a data type
You can create a Data Type through a Class Diagram or a Modeler pane.
To create a data type through a class diagram:
1. On the Class Diagram tab, click the Data Type button, and then click on the diagram in free space or within a Package.
If you click within a Package on the diagram, the Data Type is created as a child item of that Package.
2. Type the name of the Data Type, and then press the Enter key.
To create a data type through a Modeler pane:
1. In a Modeler pane, locate the item that is to own the Data Type, that is, a Package, Class, Interface or the Model.
2. Right-click the owning item, and select New > Data Type or select New > UML > Structure > Data Type.
3. Type the name of the Data Type, and then press the Enter key.