Defining operations

The Implementation page appears.

3Type or modify code directly in the window. or

Click a tab at the bottom of the edit window and type or modify code.

4Click OK.

Copying an operation to another class

You can copy an operation from one class and add it to another class. If the class already contains an operation with the same name or code as the copied operation, the copied operation is renamed. For example the operation testPort is renamed testPort2 when it is copied to a class which already contains an operation testPort .

ϖTo copy an operation to another class:

1Double-click a class in the model. The class property sheet appears.

2Click the Operations tab. The Operations page appears.

3Click the Add Operations tool.

84

Page 94
Image 94
Sybase 7.5 manual Copying an operation to another class, To copy an operation to another class