To create the First End Of Association operation for coloring Associations between a Block and a Use Case
Click the plus sign next to the Owned Parameter property to edit it.
If you cannot see the Owned Parameter property, make sure the Expert mode is enabled. |
Click Create operation > Script.
If you cannot see the Script operation, make sure the Expert mode is enabled. |
Insert the following script as the Body:
arg1.size() > 0 ? arg1.iterator().next() : null |