Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Capella workbench » Library PVMT and REC/RPL good/bad practices
Library PVMT and REC/RPL good/bad practices [message #1826441] Fri, 24 April 2020 21:21 Go to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
First I share the bad practice:

In a library I have applied a PV Domain on Functions... Let's say function kind (datamodel/simulation/communication)...

I created REC.... and RPL in a project using the Lib.. The RPL has property values applied. But I could not manipulate the values of the properties applied.

First bad idea: I imported the Domain in the project to manipulate the properties but..... I guess the import mechanism recreated EObject of the corresponding property values when importing the Domain...

Second bad idea: for another reason, I removed the properties from the library by detaching model. WHen I tried to remove the properties from the elements in the project using the lib, it did not worked and showed invalid EReference (to the Domain in the Library, which was not existing anymore)..

COnclusion: It's a bad idea, when using REC/RPL from library in conjunction with PVMT to import the Domain in the project using the lib.

Questions: Is there a good practice ?

Question 2: in Capella user manual, it is said that property values are not handled properly by transition operations, is it confirmed ? How can I use property values at one level of analysis, and transition them to the others properly.

Thank you for any advice.


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg

[Updated on: Sat, 25 April 2020 09:05]

Report message to a moderator

Re: Library PVMT and REC/RPL good/bad practices [message #1826443 is a reply to message #1826441] Fri, 24 April 2020 21:52 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Cedric,

Just sharing one experience here and certainly not answering all your questions but: I had a case where I defined properly property values on Operational Activities and System Functions, and when applying the transition, it worked well. I am not saying this is something supported, I don't know for sure, but the transition did work well provided that the PV Definition were set correctly.

I hope this helps
Stephane LACRAMPE
Obeo Canada


Stephane LACRAMPE
Obeo Canada
Re: Library PVMT and REC/RPL good/bad practices [message #1826462 is a reply to message #1826443] Sat, 25 April 2020 09:05 Go to previous messageGo to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
No Message Body

sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Re: Library PVMT and REC/RPL good/bad practices [message #1826463 is a reply to message #1826462] Sat, 25 April 2020 09:07 Go to previous messageGo to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
Hello Stéphane

Thank you for your feedback. I will probably check on a sample model with configuration management what happens when I apply transition and, also important, what happens if I modify elements and re-apply transformation. I will post my results here.

BR


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Re: Library PVMT and REC/RPL good/bad practices [message #1826643 is a reply to message #1826463] Tue, 28 April 2020 07:25 Go to previous message
Aurelien Pinsonneau is currently offline Aurelien PinsonneauFriend
Messages: 15
Registered: February 2020
Junior Member
Hello Cedric,

PVMT does not yet support transition between perspectives (SA to LA for example), system to sub-system transition, or REC / RPL between library and project.
It's because even if the Property Values are transferred, the link with the PV definition is lost in the transfer.
This problem has already been identified and would need additional development in order to fully cover all use cases.
Previous Topic:Operation Activity Interaction
Next Topic:XHTML: Log context elements id for model troubleshoot
Goto Forum:
  


Current Time: Wed Nov 06 03:12:13 GMT 2024

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

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

Back to the top