Skip to main content



      Home
Home » Modeling » Papyrus » Profile extension(Profile extending another one)
Profile extension [message #1793185] Wed, 01 August 2018 05:20 Go to next message
Eclipse UserFriend
Hi,

I want to create two profiles with Papyrus UML Modeller. One extending the stereotypes created by the other. Is there any way to do this?

For example, in my profile A i want two stereotypes C and D that extend the Property meta-class . In my B profile i want to add properties to C.
Then when i apply profile B to a model i want to have all stereotype of A ( C and D) but with the attributes added in B profile.

I'm using Papyrus 3.0 with Eclipse Oxygen (4.7.0).

Thanks!
Re: Profile extension [message #1793201 is a reply to message #1793185] Wed, 01 August 2018 09:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Have you tried? It should just work.

Regards

Ed Willink
Re: Profile extension [message #1793203 is a reply to message #1793201] Wed, 01 August 2018 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Actually, i've tried to do this but i can't find how.

I've created a B profile and import the A one in it. But to add properties to stereotype i had to make the A profile writable and any add modify the A profile too.
I can't find any other way to extend the A profile. Is there a specific way to do this?

thanks.

[Updated on: Thu, 02 August 2018 11:40] by Moderator

Re: Profile extension [message #1793206 is a reply to message #1793203] Wed, 01 August 2018 09:40 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Ah! IMHO The 'update' stereotype facility was always an unfortunate UML2 design decision. It seems to cause needless trouble. Perhaps you have hit upon a bug. Unless someone gives you a simple solution, please raise a Bugzilla.

Regards

Ed Willink
Re: Profile extension [message #1794342 is a reply to message #1793206] Wed, 29 August 2018 05:33 Go to previous message
Eclipse UserFriend
Hi

Not sure what you mean by "The 'update' stereotype facility" but I'm not using anything special.
I'm just trying to figure how to do what I want to do. No bug here I think.

Regards
Previous Topic:Automatic synchronization between UML class and reversed Java class
Next Topic:Papyrus at the Open Group Beijing event Aug. 22!
Goto Forum:
  


Current Time: Mon Jul 14 23:29:23 EDT 2025

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

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

Back to the top