Remember that these labels do not have any meaning in the
generated code and are used only as references to locate elements
in diagrams and windows.
About this task
Here is a list of all
the element types that can be labeled:
- Actors
- Association/Aggregation role names
- Attributes
- Classes
- Comments
- Constraints
- Control flows
- Events
- Files
- Objects
- Operations
- Packages
- Requirements
- States
- Types
- Use cases
Procedure
- Right-click the selected element in the
browser. (You can double-click to display the Features window immediately.)
- Select Features from
the menu to display the Features window for the selected element.
- Click the L button
next to the Name field. The Name
and Label window displays.
- Type the text in the Label field.
The read-only Name field displays the name
of the element for reference.
- Click OK twice.