In composite structure diagrams, you can create a collaboration
occurrence to define the set of roles and connectors that co-operate in a
structured classifier according to a specific collaboration.
You use the collaboration occurrence to apply a pattern, which the collaboration
defines, to a specific scenario.
In the Modeling perspective, a model must contain
a collaboration and a composite structure diagram must be open.
To create a collaboration occurrence in a composite structure diagram:
- In the Palette, click Collaboration
Occurrence.
- In the diagram editor, complete one of the following steps:
- To create an unspecified collaboration occurrence, click Unspecified.
- To create a new collaboration that you want to type with a new collaboration
occurrence, click Create New Collaboration.
- To create a collaboration occurrence for an existing collaboration,
click Select Existing Element, select a collaboration
from a list of available collaborations, and click OK.
- Type a name and press Enter.