42587201
MD190SP2
3
Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
To create a link
- Create an Object diagram.
- In the diagram pane, create two Instance shapes by dragging and dropping the element onto the diagram pane. Select any Classifier you would like.
- Draw a Link between the two Instance shapes.
The Select Association dialog opens.
Info title Select Association dialog The Select Association dialog displays associations that are created between the classifiers of the Link.
- Select the appropriate association and click OK.
- The Create Slots dialog opens. Select the appropriate slots and click OK.
Example of a link between two Instance shapes.
To create slots on a link
- In the Object diagram's diagram pane, create two Instance shapes by dragging and dropping the element onto the diagram pane. Select any Classifier you would like.
- Draw a Link between the two Instance shapes. The Select Associations dialog opens.
- In the Select Association dialog, select the appropriate associations then click OK.
- The Create Slots dialog opens.
Select the slots.
Info title Create Slots dialog The Create Slots dialog displays the roles of the association that is created between the classifiers of the Link.
- Click OK.
Note | ||
---|---|---|
| ||
|
To turn on automatic creation of slots in links
- In the window, click Options > Environment. The Environment Options dialog opens.
- In the General options group, under the Editing subgroup, set the Automatically Create Slots in Link option value to true.
To display slot values on a link
- Right-click on a Link. Select Symbol Properties. The Symbol Properties dialog opens.
- Deselect the Suppress Slots check box, so it says false.
- The result should look something like the figure below.
Note | ||
---|---|---|
| ||
|
Tip | ||
---|---|---|
| ||
You can select to display or hide an individual slot in the Compartment Edit dialog. To open the Compartment Edit dialog
|
To change a link end
- On a diagram pane, select an end of a Link and move it to the other target.
- The Link is connected to the other target.
Panel | ||
---|---|---|
| ||
Panel | ||
---|---|---|
| ||