In UML diagrams, you can
add and modify parameters that pass information into and out of operations
by using the Properties view.
Before you begin
You must have a diagram open in
the diagram editor, and the operations list compartment must be visible.
Ensure that you have not set preferences to filter or hide operations.
To see the parameters that you added to an operation in a classifier,
you must modify the classifier's properties to show operation
signatures.
About this task
To modify a parameter in an operation:
Procedure
- In the diagram editor, click an operation to select it.
- Right-click the operation; then click Show Properties
View .
- In the Properties view, click the Parameters tab.
- On the Parameters page, click a column entry and change
it to the desired value.
- Optional: To add a return type, in the Properties view,
on the General page, in the Type column, click
a type.