iAnywhere Water System User Manual

Chapter 2 Building an Object-Oriented Model
99
Creating an association
You can create an association between two classes or between a class and an
interface:
in a diagram
from the list of associations
from the Browser
Creating an association outside of a diagram
When you create an association from the list of associations or from the
Browser, you must select the two classes that are linked by the association.
v To create an association in a diagram:
1 Click the Association tool in the palette toolbar.
2 Drag the association link from one class to another.
The link appears between the two classes.
Dragging an association to a different class
You can change the class at either end of an association by clicking
the association to select it, pressing down CTRL, and dragging one of
the attach points to a different class.
3 Click the Pointer tool in the palette toolbar.
or
Click the right mouse button.
You release the Association tool.
4 Double-click the new association in the model.