Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Capella General » Function automatic ID
Function automatic ID [message #1828688] Tue, 16 June 2020 15:40 Go to next message
Julien Morane is currently offline Julien MoraneFriend
Messages: 19
Registered: December 2019
Junior Member
Hello everyone,

Does anyone know or have an clue on automatic management of functions ID with Capella ?

rgds,
Re: Function automatic ID [message #1828692 is a reply to message #1828688] Tue, 16 June 2020 16:03 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Julien,
Could you be a little bit more specific on which Id you're talking about and what you would like to know?
Thanks


Stephane LACRAMPE
Obeo Canada
Re: Function automatic ID [message #1828980 is a reply to message #1828692] Tue, 23 June 2020 15:10 Go to previous messageGo to next message
Julien Morane is currently offline Julien MoraneFriend
Messages: 19
Registered: December 2019
Junior Member
Hello Stéphane,

I am not talking about the 'Capella Id' that we can see on the 'Expert' tab of the Property view.

For each project, one defines one nomenclature to identify every functions.
For the moment, I am handling these in one of my project by putting the function ID in the summary of the function.

However, this raises some issues,( the main one is the impossibility to check that an ID is unique with Capella). So I was wondering if anyone here have already faced such problems, and if it exists a few tricks that will ease the management of functions ID with Capella.

Rgds,
Re: Function automatic ID [message #1829174 is a reply to message #1828980] Fri, 26 June 2020 10:46 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
Why don't you use the label/name of the function to identify it?
Re: Function automatic ID [message #1829183 is a reply to message #1829174] Fri, 26 June 2020 13:34 Go to previous messageGo to next message
Stephane LACRAMPE is currently offline Stephane LACRAMPEFriend
Messages: 217
Registered: July 2009
Senior Member
I think this is more or less what he is doing, the question being "How can they ensure that the ID is unique if they use labels/names"?

Stephane LACRAMPE
Obeo Canada
Re: Function automatic ID [message #1829230 is a reply to message #1829183] Mon, 29 June 2020 09:38 Go to previous messageGo to next message
Julien Morane is currently offline Julien MoraneFriend
Messages: 19
Registered: December 2019
Junior Member
Hello Felix and Stéphane,

I did not thought about putting the function ID in the name, with for instance a label "FunctionID- Name"

It is a good idea, since you will be able to filter your functions by ID with the Project Explorer research bar, and henceforth ease the process of ID management. It is a progress compared to the use of the "summary" of the function, whose value does not appear in the Project explorer research bar.

My concern is that it can overload diagrams with information, making them less readable.

Thank you both for your answers !


Rgds,




Re: Function automatic ID [message #1829532 is a reply to message #1829230] Mon, 06 July 2020 09:01 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
I do think that the labeling functionality of Capella is quite primitive. It should really be possible for users to write customized label expressions for explorer, diagrams, etc. It should also be possible to customize the default new name for added functions. I'm not sure if the PVMT diagram styler can be used to customize labels. You could do a diagram extension in sirius to rewrite the labels, but if you've never done something like that it's kind of overwhelming at first.

Re: Function automatic ID [message #1829544 is a reply to message #1829532] Mon, 06 July 2020 17:31 Go to previous messageGo to next message
Fábio Guarita is currently offline Fábio GuaritaFriend
Messages: 64
Registered: December 2019
Member
The Requirements Add-On has a dialog that enables the customization of the labels that are shown on the diagram representations. You can use AQL expressions to customize it which is a very powerful feature.

If anyone would develop an extension to enable such feature for customizing functions, or other elements' labels it would be a good base to be copied... (if not already available somehow)
Re: Function automatic ID [message #1829547 is a reply to message #1829544] Mon, 06 July 2020 17:33 Go to previous messageGo to next message
Fábio Guarita is currently offline Fábio GuaritaFriend
Messages: 64
Registered: December 2019
Member
Here is a screenshot of the dialog mentioned on the previous message:

index.php/fa/38506/0/
  • Attachment: Untitled.png
    (Size: 17.83KB, Downloaded 318 times)
Re: Function automatic ID [message #1829579 is a reply to message #1829547] Tue, 07 July 2020 08:37 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
That is exactly what's needed I think. I wonder how to make the choice to enable such a thing only for specific elements...
Previous Topic:Custom validation rules plugin not loading
Next Topic:Human Factors // Human Systems Integration
Goto Forum:
  


Current Time: Thu Apr 25 15:25:22 GMT 2024

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

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

Back to the top