Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Class Operations in Activity Diagrams
Operations from Classes can be displayed on Activity diagrams as Actions. When an operation is shown as an Action, the notation of the Action displays the name of the Class that features the operation.
How to:
To add an operation to an Activity diagram, follow the steps below:
Step |
Action |
See Also |
---|---|---|
1 |
Open an Activity diagram |
|
2 |
From the Project Browser open a Class and locate the operation to be added to the Activity diagram |
|
3 |
Drag the operation on to the diagram
|
|
4 |
When the operation has been added to the Activity diagram the Action displays the name of the Class that features the operation
Right-click on the Action in the diagram to locate, in the Project Browser, the:
|
|
If it becomes necessary to change the operation that this Action refers to, follow the steps below:
Step |
Action |
See Also |
---|---|---|
1 |
Right-click on the Action The context menu displays |
|
2 |
Select the Advanced | Set Operation menu option The Set Operation dialog displays |
|
3 |
If necessary, in the In Namespace field, select the model that contains the required operation |
|
4 |
Double-click on the required operation. The Action updates to show the new classifier and operation |
|