Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346587

Summary: [ActivityDiagram]Label of CallOperationAction should be updated when setting the operation
Product: [Modeling] Papyrus Reporter: Vincent Hémery <vincent.hemery>
Component: DiagramAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: arthur.daussy, raphael.faudou, vincent.hemery
Version: 0.8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Vincent Hémery CLA 2011-05-20 03:11:28 EDT
When creating a call operation (with a linked operation) or when updating the called operation of the action, the label of the CallBehaviorAction should be updated as follow :
"Call<Name of called Operation>"

This name update should occur for user facilities when :
- operation attribute of the CallOperation is set (including during creation) to a non-null value
- the name of the called Operation is updated and the CallOperation was named "Call<Old name of called Operation>"

In other conditions, this means the user has explicitely updated the name after setting the Operation. Hence, we consider the action has been renamed on purpose (no automatic renaming untill the called Operation changes).
Comment 1 Camille Letavernier CLA 2015-03-17 05:37:57 EDT
The label of CallBehavior/CallOperation actions works as expected in the current version; I close the task