Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Expansion region vs. Combined Fragments
Expansion region vs. Combined Fragments [message #1693713] Mon, 27 April 2015 19:33 Go to next message
Philippe de Rochambeau is currently offline Philippe de RochambeauFriend
Messages: 40
Registered: February 2013
Member
Hello,

what is the difference between an Expansion Region (available in Papyrus) and a Combined Fragment (absent from Papyrus)?

Is the former an earlier incarnation of the latter?

Many thanks.

Philippe

Re: Expansion region vs. Combined Fragments [message #1693723 is a reply to message #1693713] Mon, 27 April 2015 22:19 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Hi, Philippe,

These are two completely different things. An ExpansionRegion is a
kind of structured node in an Activity. A CombinedFragment is kind of
fragment of an Interaction. It would never be present in an activity.
The Papyrus sequence diagram editor does provide a tool for creation of
combined fragments.

HTH,

Christian


On 2015-04-27 19:33:43 +0000, Philippe de Rochambeau said:

> Hello,
>
> what is the difference between an Expansion Region (available in
> Papyrus) and a Combined Fragment (absent from Papyrus)?
>
> Is the former an earlier incarnation of the latter?
>
> Many thanks.
>
> Philippe
Re: Expansion region vs. Combined Fragments [message #1693746 is a reply to message #1693723] Tue, 28 April 2015 05:43 Go to previous messageGo to next message
Philippe de Rochambeau is currently offline Philippe de RochambeauFriend
Messages: 40
Registered: February 2013
Member
I have created an Activity Diagram in which Program 1 (in Activity Partition 1) feeds each line of a CSV file to Program 2 (in Activity Partition 2,) which then e-mails it to a recipient.

Is using an Expansion Region the best way to model the "foreach line in CSV" that takes place in Activity Partition 1?
Re: Expansion region vs. Combined Fragments [message #1693806 is a reply to message #1693746] Tue, 28 April 2015 12:52 Go to previous message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Hi, Philippe,

That feels to me like a good case for the ExpansionNode, which
naturally maps inputs to corresponding outputs. The LoopNode, for
example, would probably be more cumbersome and less expressive.

However, I'm not much experienced with activity modeling. Others on
this forum are (especially our fUML/ALF developers). Hopefully they
can provide more insight.

Cheers,

Christian


On 2015-04-28 05:43:25 +0000, Philippe de Rochambeau said:

> I have created an Activity Diagram in which Program 1 (in Activity
> Partition 1) feeds each line of a CSV file to Program 2 (in Activity
> Partition 2,) which then e-mails it to a recipient.
>
> Is using an Expansion Region the best way to model the "foreach line in
> CSV" that takes place in Activity Partition 1?
Previous Topic:no "applied profiles" section in the properties view
Next Topic:Cross-table abilities
Goto Forum:
  


Current Time: Tue Apr 23 08:03:40 GMT 2024

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

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

Back to the top