Skip to main content



      Home
Home » Modeling » Papyrus » Expansion region vs. Combined Fragments
Expansion region vs. Combined Fragments [message #1693713] Mon, 27 April 2015 15:33 Go to next message
Eclipse UserFriend
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 18:19 Go to previous messageGo to next message
Eclipse UserFriend
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 01:43 Go to previous messageGo to next message
Eclipse UserFriend
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 08:52 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 15:22:32 EDT 2025

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

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

Back to the top