Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Profile extension(Profile extending another one)
Profile extension [message #1793185] Wed, 01 August 2018 09:20 Go to next message
muriel cadiot is currently offline muriel cadiotFriend
Messages: 10
Registered: January 2018
Junior Member
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 13:07 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6037
Registered: July 2009
Senior Member
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 13:29 Go to previous messageGo to next message
muriel cadiot is currently offline muriel cadiotFriend
Messages: 10
Registered: January 2018
Junior Member
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 15:40]

Report message to a moderator

Re: Profile extension [message #1793206 is a reply to message #1793203] Wed, 01 August 2018 13:40 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6037
Registered: July 2009
Senior Member
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 09:33 Go to previous message
muriel cadiot is currently offline muriel cadiotFriend
Messages: 10
Registered: January 2018
Junior Member
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:Class Diagrams get messed up?
Next Topic:Papyrus at the Open Group Beijing event Aug. 22!
Goto Forum:
  


Current Time: Thu Sep 20 16:04:07 GMT 2018

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

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

Back to the top