Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Capella General » Change Name in Black-Box RPL(Black-Box RPL)
Change Name in Black-Box RPL [message #1822430] Thu, 05 March 2020 23:01 Go to next message
Brandon BlauFriend
Messages: 20
Registered: December 2019
Junior Member
I am curious if there is a recommended/most effective way to rename RPL elements while still conforming to the other BlackBox rules.

Background:
In a physical architecture that I am building out, I have a number of different replicas that I have generated from a REC. What I would like to do is rename each one according to a naming convention to identify the elements as pieces in the bigger system.

Details:
I am designing a keyboard, have done the detailed work on how one particular key works physically (the latches, button, size, etc). Now I would like to duplicate this key following the black-box rules - all the keys should function the same way - but I would like to rename each of the keys according to the value their use is to be interpreted as "A","B","C", and display this value on a PAB diagram.

Any ideas how to best accomplish this?

Thanks!!!
Re: Change Name in Black-Box RPL [message #1822432 is a reply to message #1822430] Thu, 05 March 2020 23:54 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 206
Registered: July 2009
Senior Member
Hi Brandon,

If I understand you correctly, you want to change a name on an RPL model element and this change does not affect the compliance with the REC. To do so, all you have to do is, when you create your RPL and have the creation wizard opened, to select this model element, and to "Set the Element as having to be renamed at Instantiation". That will add a [+ SUFFIX] label to your element indicating that a name change won't break compliance.
For more info on exactly how to do this, you can have a look at the embedded help in Capella guide / user manual / Replicable Elements / Basic REC-RPC use case.
If you've already created your REC, I think you can still modify it to add this "suffix tag". Browse to your REC on the Capella project explorer, select the link that links to the element you want to suffix, and in the property view, you can hit the "suffixed" option.

All the best,
Stephane LACRAMPE
Obeo


Stephane LACRAMPE
Obeo Canada
Re: Change Name in Black-Box RPL [message #1822452 is a reply to message #1822432] Fri, 06 March 2020 16:59 Go to previous messageGo to next message
Brandon BlauFriend
Messages: 20
Registered: December 2019
Junior Member
Thanks Stephane!

This is for sure a way to append a different suffix to the given name of the REC elements, and I have been leveraging this thus far.

The limitations I am running into are:
1. For a REC containing multiple elements (either in a a hierarchy or otherwise), the Suffix is the same for all of the elements (there isnt a way I have seen to modify the individual suffixes of the elements of a RPL)
2. The name of the original objects has to be maintained and only appended to

This is a small inconvenience, and I wasn't sure if there was a better way to go about this...

Thanks!

Brandon
Re: Change Name in Black-Box RPL [message #1822453 is a reply to message #1822452] Fri, 06 March 2020 17:17 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 206
Registered: July 2009
Senior Member
Hi Brandon,
I see.
A couple of ideas:
- first, have a look at the Capella 1.3.1 release note, there are a few things related to REC/RPL and suffixes in it: https://github.com/eclipse/capella/wiki/Release-Notes-1.3.1
- on (2), I guess you could put an empty name to the original object...
- on (1), I wonder if you could achieve this by using REC/RPL composition, you can have a look at the documentation for "Management of Composition of REC-RPL"

These are just ideas, I am certainly not a REC/RPL expert...

Stephane


Stephane LACRAMPE
Obeo Canada
Re: Change Name in Black-Box RPL [message #1822559 is a reply to message #1822453] Mon, 09 March 2020 20:58 Go to previous messageGo to next message
Brandon BlauFriend
Messages: 20
Registered: December 2019
Junior Member
I'll take a look at your second point and see if that'll work, thanks!

The other idea I had was maybe changing the validation rules for BLACKBOX to not check the names are equal...
Re: Change Name in Black-Box RPL [message #1822561 is a reply to message #1822559] Mon, 09 March 2020 21:18 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 206
Registered: July 2009
Senior Member
Hi Brandon,
Yes I don't personally know how to change those compliance rules, maybe somebody from the Capella dev team can help on this!
Stephane


Stephane LACRAMPE
Obeo Canada
Re: Change Name in Black-Box RPL [message #1823075 is a reply to message #1822561] Thu, 19 March 2020 07:38 Go to previous messageGo to next message
Navas Juan is currently offline Navas JuanFriend
Messages: 49
Registered: January 2020
Member
Hello,
Today only the current Blackbox compliance is checked.
I guess new or variant compliance rules may be developed, but it is not currently possible to "tune" the existing compliance rules.
Re: Change Name in Black-Box RPL [message #1823493 is a reply to message #1823075] Fri, 27 March 2020 11:28 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 364
Registered: December 2015
Senior Member
Hey there. I'm the blackbox compliance executive. It would not be a lot of work to allow a set of attributes to be modified. The rec would specify these attributes e.g. via a string property value. If we create a bugzilla for this, I can sketch this out quickly.


Previous Topic:Where to find Basic Viewpoint add on verion 1.3.1?
Next Topic:Capella 1.4.0 has been released !
Goto Forum:
  


Current Time: Mon Nov 30 04:56:34 GMT 2020

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

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

Back to the top