Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Topic |
Prev | Next |
Create a Connection Point Reference
A Connection Point Reference represents the use, by a Submachine State, of an Entry Point or Exit Point pseudostate defined in the State element's classifier StateMachine. You initially create the Connection Point Reference elements themselves as Entry Points or Exit Points.
Create Entry Points and/or Exit Points
Step |
Action |
See also |
---|---|---|
1 |
Create or open the classifier StateMachine (as a child diagram of a Class element). The StateMachine is represented by a labeled frame. |
State Machine |
2 |
If the Entry Points and/or Exit Points do not already exist, right-click on the inside edge of the frame and select the 'New Element | Entry Point' or 'New Element | Exit Point' option, as necessary. The corresponding pseudostate element is immediately created on the edge of the frame. If you prefer, you can double-click on the element and give it a specific name. |
Entry Point Exit Point |
3 |
Create as many additional Entry Point and/or Exit Point elements as you need. |
|
4 |
If the corresponding State element does not already exist, drag a State icon from the Diagram Toolbox into the frame. Create the appropriate connectors between the State element and the Entry Point and Exit Point elements.
|
State |
5 |
Save the diagram. |
Create Connection Point References
Step |
Action |
See also |
---|---|---|
1 |
Create or open the calling StateMachine (as a child diagram of a Class element). |
State Machine |
2 |
If the elements do not already exist, create the appropriate State and pseudostate elements and connectors in the diagram. |
|
3 |
Click on the calling State element and press to display the 'Select Element' dialog. Browse for and select the classifier StateMachine from the 'Create Entry Points and/or Exit Points' stage. |
Select |
4 |
Right-click on the State element, and select the 'New Element | Entry Point' or 'New Element | Exit Point' option, as you need. The corresponding pseudostate element is immediately created on the border of the element.
|
Entry Point Exit Point |
5 |
Double-click on the Entry Point element. The 'Edit ConnectionPointReference' dialog displays. |
|
6 |
If you prefer, in the 'Name' field type a new name for the selected Entry Point. In the 'Specify submachine's EntryPoints as reference' panel, select the check box against each of the classifier's Entry Points to create a reference to. You can select more than one checkbox.
|
|
7 |
Click on the . |
|
8 |
If necessary, repeat steps 4 to 7 for the State element's Exit Point. |