iAnywhere Water System User Manual

Defining operations
70
Creating an operation from a class in a diagram
You can create an operation from a class or an interface in a diagram in the
same way.
v To create an operation from a class in a diagram:
1 Double-click a class in the model.
The class property sheet appears.
2 Click the Operations tab.
The Operations page appears. It lists operations defined for the class.
3 Click a blank line in the list.
or
Click the Add a Row tool.
An arrow appears at the beginning of the line.
4 Type an operation name and an operation code.
5 Click OK.
The operation is created for the class and appears in the list of operations
for the class.
6 Click OK.