|Message's arguments. OpaqueExpression [message #1062312]
||Fri, 07 June 2013 07:19
| Antonio Moreno
Registered: November 2012
I'm doing some works with the sequence diagrams resulting of Papyrus. I have some troubles in the next situation:
1. In a class diagram, I create two class linked by an association Assoc and one of them has a operation with two Integers parameters (provided by PrimitiveTypes model).
2. Then, in the sequence diagram I create two lifelines corresponding to the ends of the association Assoc.
3. Next, I add a synchronous message representing the operation created.
4. Now I could add two arguments, corresponding to the two parameters of the operation. But Papyrus just allows me to add IntegerLiteral, but I want to create a OpaqueExpression like argument.
How I could do this? I tried to add a Arguments of the type OpaqueExpression directly in the UML Model generated and I could! I suppose that Papyrus is doing a validation with the parameters type, and only show me in the pull-down menu the types according to the parameters.
Thank you in advance,
[Updated on: Fri, 07 June 2013 16:09]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04086 seconds