Library PVMT and REC/RPL good/bad practices [message #1826441] |
Fri, 24 April 2020 21:21 |
Cedric Gava 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
[Updated on: Sat, 25 April 2020 09:05] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03978 seconds