Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Class Operations in Diagrams
Operations from Classes can be represented by CallOperation Action elements on any diagram (such as an Activity, Custom or Analysis diagram). When an operation is shown as an Action, the notation of the element displays the name of the operation prefixed by the name of the Class from which it comes.
Add an operation to a diagram
Step |
Action |
See also |
---|---|---|
1 |
Open the target diagram. |
|
2 |
From the Project Browser open a Class and locate the operation to be added to the diagram. |
|
3 |
Drag the operation on to the diagram.
|
|
4 |
When the operation has been added to the diagram, the CallOperation Action resembles this:
|
Change the operation that an Action refers to
Step |
Action |
See also |
---|---|---|
1 |
Right-click on the Action and select the 'Advanced | Set Operation' option. The 'Set Operation' dialog displays. |
Set Operation dialog |
2 |
If necessary, in the 'Go To Namespace' field, select the model that contains the operation. Browse for the operation. |
|
3 |
When you have located the operation, double-click on it. The Action updates to show the new classifier and operation names.
|
Notes