Sybase 7.5 manual Creating an association outside of a diagram

Models: 7.5

1 288
Download 288 pages 28.98 Kb
Page 109
Image 109

Chapter 2 Building an Object-Oriented Model

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.

ϖ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.

3Click the Pointer tool in the palette toolbar. or

Click the right mouse button. You release the Association tool.

4Double-click the new association in the model.

99

Page 109
Image 109
Sybase 7.5 manual Creating an association outside of a diagram, To create an association in a diagram