In composite structure diagrams, you use a role binding to bind
or map a collaboration occurrence with the roles and connectors in a classifier.
You can create a role binding as a dependency relationship between a role
and a collaboration occurrence, and between a collaboration occurrence and
a role.
You must have a composite structure diagram open that contains a collaboration
occurrence. The collaboration occurrence must be typed by a collaboration
that contains a role.
To bind a collaboration occurrence and a role:
- In the Palette, click Role Binding.
- In the diagram editor, click a collaboration occurrence and drag
the cursor to a role.
- In the Select Supplier of Role Binding window,
select an existing role as the target of the binding and click OK.
- Type a name and press Enter.