Parameters synchronization keeps your model valid and synchronized after making changes. How does the synchronization work? After you have created a new element or edited a property the associated elements and properties are updated according to your changes.
The following table lists the pairs of elements that are synchronized.
Synchronized Elements | The backward | |
---|---|---|
Behavior (Parameter) | Operation (Parameter) | Yes |
Operation (Parameter) | Call Operation Action (Pin) | Yes |
Behavior (Parameter) | Call Behavior Action (Pin) | Yes |
Signal (Attribute) | Send Signal Action (Pin) | Yes |
Signal (Attribute) | Accept Event Action (Pin) | Yes |
Activity (Parameter) | Activity (Activity Parameter Node) | Yes |
Behavior (Parameter) | Signal Reception (Parameter) | Yes |
Operation (Parameter) | Message (Argument) | No |
Interaction (Parameter) | Interaction Use (Argument) | No |
Signal (Attribute) | Message (Argument) | No |
The following table lists the synchronized element properties and conditions on which these properties are synchronized.
Synchronized Elements | Properties | ||||
---|---|---|---|---|---|
Name | Type | Direction | Multiplicity | ||
Behavior (Parameter) | Operation (Parameter) | always | always | always | always |
Operation (Parameter) | Behavior (Parameter) | always | always | always | always |
Operation (Parameter) | Call Operation Action | when source | when source | always | when source |
Behavior (Parameter) | Call Behavior Action | ||||
Call Operation Action | Operation | when target | when target | always | when target |
Call Behavior Action | Behavior (Parameter) | ||||
Signal (Attribute) | Send Signal Action | when source | when source | - | when source |
Signal (Attribute) | Accept Event Action | ||||
Send Signal Action | Signal (Attribute) | when target | when target | - | when target |
Accept Event Action | Signal (Attribute) | ||||
Activity (Parameter) | Activity (Activity | when target | always | always | - |
Activity (Activity | Activity (Parameter) | when target | always | not | - |
Behavior (Parameter) | Signal Reception | always | always | always | always |
Signal Reception | Behavior (Parameter) | always | always | always | always |
To turn on the parameters synchronization
- On the Options menu, click Project.
- In the Project Options dialog, the General project options group, click to select the Synchronize Parameters and Arguments option.