Defining classes
Creating a class from the Browser
ϖTo create a class from the Browser:
1
The property sheet of the class appears.
3 Type a class name and a class code.
4 Click OK.
A new class is created in the Classes category.
Creating a class from the list of classes
ϖTo create a class by inserting it in the list:
1Select Model➤ Classes. The list of classes appears.
Accessing the list of classes
The list of classes is accessible only from a diagram. If the current diagram is of a package, the list contains all the classes that exist in the package. If the current diagram is of the model, the list contains all the classes that exist in the model.
2Click a blank line in the list. or
Click the Add a Row tool.
An arrow appears at the beginning of the line.
3Type a name and code for the class.
4Select a stereotype from the Stereotype dropdown listbox.
5Select a visibility from the Visibility dropdown listbox.
6Click OK.
A symbol for this class is inserted in the current model.
22