Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Action Notation
Actions of most types are depicted as a round-cornered rectangle containing the Action type and Action name, as follows:
Other types have their own specific notation, as shown:
Action Kind |
Notation |
See also |
---|---|---|
AcceptEvent |
|
|
AcceptEventTimer |
|
|
CallBehavior |
|
|
CallOperation |
|
|
SendSignal |
|
For an Accept Event Action element, the Properties dialog contains a Triggers tab on which you define one or more triggers to denote the type of events accepted by the Action.
Field |
Usage |
See also |
||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name |
Specify the name of the trigger.
|
|
||||||||
Type |
Specify the type of trigger: Call, Change, Signal or Time:
Code generation for State Machines currently supports Change and Time trigger events only, and expects a specification value.
|
|
||||||||
Specification |
Specify the event instigating the Transition. For an AcceptEventTimer Action, you can type a JavaScript expression in this field evaluating to the number of ticks to wait for.
|
|
SendSignal Action & BroadcastSignal Action
For these Action elements, you can model the signal to be sent and the associated arguments to be conveyed, using the Signal tab of the element Properties dialog.
Field/Button |
Action |
---|---|
Signal |
Click on the ( ... ) button and select the required signal from the Select Signal dialog.
|
Attribute |
Click on the drop-down arrow and select the attribute (as previously created in the Signal element) with which the arguments are to be associated.
|
Value |
Type the appropriate value for the attribute.
|
Add |
Click on this button and select the appropriate ActionPins from the Select Pin dialog, to identify the arguments for the Signal. To assign more than one ActionPin, press ( Ctrl ) whilst you select each one.
|
Save |
Click on this button to save your changes.
|
Structural Feature Actions
Enterprise Architect supports the following types of Structural Feature Actions:
• | AddStructuralFeatureValue |
• | ClearStructuralFeature |
• | ReadStructuralFeature |
• | RemoveStructuralFeatureValue |
• | WriteStructuralFeature |
For these actions you can set Ports, Parts or Attributes as the target structural feature.
Access Right-click Action element | Advanced | Set Structural Feature: Add
Step |
Action |
---|---|
1 |
On the Select Property dialog (a variant of the Select <Item> dialog), browse or search for the appropriate structural feature, and double-click on it. The feature name and location displays in the structuralFeature field of the Set Structural Feature dialog.
|
2 |
Click on the OK button to save the setting.
|