Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Message's arguments. OpaqueExpression
Message's arguments. OpaqueExpression [message #1062312] Fri, 07 June 2013 03:19
Antonio M. Moreno is currently offline Antonio M. Moreno
Messages: 13
Registered: November 2012
Junior Member
Hi all,

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,
Antonio

[Updated on: Fri, 07 June 2013 12:09]

Report message to a moderator

Previous Topic:Generating UML Class Diagram from .uml
Next Topic:How to create a drawer on palette and add entries to it at runtime
Goto Forum:
  


Current Time: Fri Aug 29 01:30:27 EDT 2014

Powered by FUDForum. Page generated in 0.28691 seconds