Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Capella workbench » Modeling Pattern(The "merge" feature is not available)
Modeling Pattern [message #1830687] Fri, 31 July 2020 09:48 Go to next message
Jean Pierre Clavery is currently offline Jean Pierre ClaveryFriend
Messages: 16
Registered: June 2019
Junior Member
Hi,

I am using Capella 1.4.0 and the Pattern feature.

In the documentation I read "role can be 'merged with' or 'added in' elements of the target model".

But in my current version of Capella I have not the feature "merge"!!

Can someone can help me on this point ?

Re: Modeling Pattern [message #1830753 is a reply to message #1830687] Mon, 03 August 2020 07:34 Go to previous messageGo to next message
Navas Juan is currently offline Navas JuanFriend
Messages: 49
Registered: January 2020
Member
Hello,
I suggest you to use the REC / RPL mechanisms instead, you can check out the Help section.
Hope it helps,
Re: Modeling Pattern [message #1830799 is a reply to message #1830753] Tue, 04 August 2020 09:16 Go to previous messageGo to next message
Jean Pierre Clavery is currently offline Jean Pierre ClaveryFriend
Messages: 16
Registered: June 2019
Junior Member
Thank,

but I want to use the pattern feature because :
- we can reuse the layout and style.
- the pattern has an icon to preview
Re: Modeling Pattern [message #1830801 is a reply to message #1830799] Tue, 04 August 2020 10:02 Go to previous messageGo to next message
Pierre B is currently offline Pierre BFriend
Messages: 18
Registered: July 2020
Junior Member
Hi Jean-Pierre,

I have already used patterns and at first I faced the same problem with the terminologies of adding and merging. At the end, if I remember well, it is all about assigning the roles when applying the pattern.

Let me explain myself : when you apply a pattern, you need to assign roles. At this step, you have two possibilities : set a "container" for the role (which is basically equivalent to add your element into this container), or to set a "target" for the role, which corresponds to the merge feature (the tool will compare the target and the element that corresponds to the role and will merge them).

Hope this helps,

Pierre

Re: Modeling Pattern [message #1830876 is a reply to message #1830801] Wed, 05 August 2020 16:03 Go to previous messageGo to next message
Navas Juan is currently offline Navas JuanFriend
Messages: 49
Registered: January 2020
Member
For information, Patterns will be deprecated in the next version of Capella (https://github.com/eclipse/capella/wiki/Roadmap).
So my suggestion is even more relevant ;-)
Re: Modeling Pattern [message #1830896 is a reply to message #1830876] Thu, 06 August 2020 08:01 Go to previous messageGo to next message
Pierre B is currently offline Pierre BFriend
Messages: 18
Registered: July 2020
Junior Member
Navas Juan wrote on Wed, 05 August 2020 16:03
For information, Patterns will be deprecated in the next version of Capella (https://github.com/eclipse/capella/wiki/Roadmap).
So my suggestion is even more relevant ;-)


Is it planned then to integrate to the REC/RPL mechanism the pattern's merging feature as well as the capability to keep layout and style ? I am using mostly REC/RPL, but patterns can be useful in some cases because of those features.
Re: Modeling Pattern [message #1830898 is a reply to message #1830799] Thu, 06 August 2020 08:30 Go to previous messageGo to next message
Philippe Dul is currently offline Philippe DulFriend
Messages: 25
Registered: November 2013
Junior Member
For REC/RPL layouts, you can copy/paste layout and styles between elements belonging to REC towards elements to RPL.

https://github.com/eclipse/capella/blob/master/doc/plugins/org.polarsys.capella.re.doc/html/08.%20Replicable%20Element%20(REC-RPL)/8.2.%20Basic%20Use%20Case.mediawiki#copy-paste-layout

https://github.com/eclipse/capella/blob/master/doc/plugins/org.polarsys.capella.tipsandtricks.doc/html/Tips%20and%20tricks/5_Layout%20management/5_Layout%20management.mediawiki#layoutstyle-capella-copypaste

You can copy paste layout between :
- REC -> RPL
- RPL -> REC
- Two RPL related to the same REC.

Regards,
Philippe

[Updated on: Thu, 06 August 2020 08:36]

Report message to a moderator

Re: Modeling Pattern [message #1830900 is a reply to message #1830898] Thu, 06 August 2020 08:40 Go to previous messageGo to next message
Navas Juan is currently offline Navas JuanFriend
Messages: 49
Registered: January 2020
Member
Hello,
Regarding the merge feature, this is already in the backlog, waiting for funding to be developed.
If you are interested on contributing to this evolution please feel free to contact us! capella-contact@thalesgroup.com
Re: Modeling Pattern [message #1861147 is a reply to message #1830687] Sun, 24 September 2023 03:17 Go to previous messageGo to next message
Eclipse UserFriend
AI Spam removed

[Updated on: Wed, 04 October 2023 13:14] by Moderator

Report message to a moderator

Re: Modeling Pattern [message #1861186 is a reply to message #1861147] Tue, 26 September 2023 19:46 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Jack, this is almost certainly an AI-written reply. Please stop posting them.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Class Diagram Association
Next Topic: Import functional tree from Excel
Goto Forum:
  


Current Time: Fri Apr 19 00:17:39 GMT 2024

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

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

Back to the top