Adding operations to classifiers in diagrams
In UML diagrams, you can
add operations to classifiers to show the behavior of the classifier
or the service that it provides.
Before you begin
About this task
Note: If you set options to hide operations,
you do not see new operations in the diagram editor.
Procedure
- In the diagram editor, right-click the classifier; then click .
- Type a name for the operation and press Enter.
- Optional: Add parameters to the operation.
What to do next
Tip: You can also add operations to classifiers
in the Project Explorer view.