You can create a generic table by any of the methods described in creating any diagram.
When creating a Generic Table you should specify the following:
You can modify the table after it is created.
This section describes several of the most popular ways of creating a generic table:
Once created, the table can be filled with data using the generic table environment capabilities.
To create a Generic Table without using a wizard
The newly created Generic Table opens on the right side of the application window.
Select desired element types and/or stereotypes in the Select Element Types dialog. The Element Type box in the Criteria area of the Generic Table will display the selected items. This action is optional, so you can continue the creation without selecting any type or stereotype. You will be able to modify selected element types when the Generic Table is created.
If you drag an element from the Containment tree to the table, the type of this element will be automatically set as the Element Type box value. |
Specify the scope, from which the elements should be added to the table. All the elements created in that particular scope will be automatically added to the table.
If the contents of the table have not been updated, try the following:
|
Add existing elements to the table individually. How to add existing elements >>
Once created the table is already filled with data.
To create a Generic Table using the diagram creation wizard
Select elements.
Select elements from the model tree and add them into the Selected list.
Though you can select any element from the Model Browser, only the elements of selected types will be added into the Generic Table. For more information about the element selection and dialog buttons, see Elements multiple selection. |
The list of all available properties corresponding to selected element types is presented in the dialog. If selected element types have tags, they are also displayed in the list. All selected properties will be displayed as columns in the Generic Table. The Name property is selected automatically; all other properties should be selected by the user.
Select properties you need to see as columns to finish the table.
Note that element types, elements, and columns of the Generic Table will be automatically selected according to the set of selected elements.
To create a new Generic Table for a set of selected elements