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 07:19
Antonio M. Moreno is currently offline Antonio M. MorenoFriend
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 16: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: Sun Dec 21 04:59:39 GMT 2014

Powered by FUDForum. Page generated in 0.01507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software