Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Capella workbench » Modeling Accelerators: Synchronize Exchanged Items and Function Ports
Modeling Accelerators: Synchronize Exchanged Items and Function Ports [message #1824321] Mon, 13 April 2020 20:06 Go to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
When Exchanged Items is set on Functional Exchanged, I use the modeling accelerator "Propagate Exchanged Items to Function Ports".... This use case is applicable when building model from scratch...

But when REC/RPL model from Library, the use case is reverted: Exchanged Items are set on the Ports (coming from the library) and not in the functional exchange (which is created in the model where the RPL is used)...

I expected that the accelerator "Synchronize Exchanged Items and Function ports" would propagate the EI in the function ports to the Functional Exchanged... but it erases the EI in the function ports...

Is it normal ?

I use Capella 1.4.0
Thank


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Re: Modeling Accelerators: Synchronize Exchanged Items and Function Ports [message #1824363 is a reply to message #1824321] Tue, 14 April 2020 11:02 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
There is no distinction made between the two cases. The reference is always the Functional Exchange. But I see your point. Not sure if a contextual behaviour is the right choice here though.



Re: Modeling Accelerators: Synchronize Exchanged Items and Function Ports [message #1826052 is a reply to message #1824363] Fri, 17 April 2020 18:26 Go to previous messageGo to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
Thank you for your answer.

Actually I found the difference:

Propagate EI to the port ADD the EI of the functional exchanges to the EI of the ports (which means that the port can have more EI than the ones of the functional exchange)


The synchronize is an intersections of the EI of the ports and the EI of the functional exchange...; which means that, in the end, all the elements (ports and exchanged items) have exactly the same EI..

Another behavior of this synchronisation would be to realize a union between the EI in the ports and the functional exchange...

BR


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Re: Modeling Accelerators: Synchronize Exchanged Items and Function Ports [message #1827611 is a reply to message #1824321] Tue, 19 May 2020 10:02 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
Are you aware of capella-groovy? It could provide you a way to perform such kinds of synchronizations by running a groovy script over your model. It is basically a way to add behavior to capella without having to deploy your own plugin. You just install capella-groovy once, and then run scripts in your workspace.
Previous Topic:How to install addons/plugins - capella?
Next Topic:Reuse Logical architecture in an other project
Goto Forum:
  


Current Time: Wed Nov 13 08:47:54 GMT 2024

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

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

Back to the top