Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (off)  | Unanswered Messages (on)

Forum: Papyrus
 Topic: What's the correct way of using "ref" in a sequence diagram with parameters?
What's the correct way of using "ref" in a sequence diagram with parameters? [message #1060517] Sat, 25 May 2013 18:17
Joe I is currently offline Joe I
Messages: 4
Registered: May 2013
Junior Member
Hi,

I want to reuse e.g. one sequence diagram with one parameter within several sequence diagrams (which are methods of classes) and all use different arguments.
So what is the correct way of modeling something like that?

Example:

Class A:
method1()
method2()

associated with class B:
methodB(+in:C)


Two different InstanceSpecifications of class C are used within method1/2 as arguments for calling methodB. Method1/2 should be sequence diagrams and they call the reusable sd (that of course calls methodB).

I know the answer would be long, maybe someone could provide an example papyrus project from which I can learn... I attached an example project with the classes I explained.

Thanks for help!

[Updated on: Sat, 25 May 2013 18:19]

Report message to a moderator




Current Time: Sun May 26 03:10:51 EDT 2013

Powered by FUDForum. Page generated in 0.02422 seconds