Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Custom validation for Papyrus
Custom validation for Papyrus [message #1449691] Tue, 21 October 2014 18:26 Go to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Hello everyone,

I would like to create constraint sets to validate models built with specific UML profiles. I am aware of Epsilon, but I wonder if it will integrate well with Papyrus.

What plug-in or method would you recommend for this task?

Thank you.
Re: Custom validation for Papyrus [message #1452528 is a reply to message #1449691] Sat, 25 October 2014 12:29 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Hi,

You can model OCL constraints directly within UML profiles in Papyrus.
Just add Constraints to your stereotypes and they should be included in
the validation of the elements that have those stereotypes applied.

HTH,

Christian

On 2014-10-21 18:26:03 +0000, Luís de Sousa said:

> Hello everyone,
>
> I would like to create constraint sets to validate models built with
> specific UML profiles. I am aware of
> https://www.eclipse.org/epsilon/doc/evl/, but I wonder if it will
> integrate well with Papyrus.
> What plug-in or method would you recommend for this task?
> Thank you.
Re: Custom validation for Papyrus [message #1452574 is a reply to message #1452528] Sat, 25 October 2014 14:17 Go to previous message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Thank you Christian, that is exactly what am I presently experimenting with. Eclipse Luna includes a section on how to use the DSML Validation profile.

Cheers.
Previous Topic:Shape type stereotype icon in Papyrus 1.0.0
Next Topic:ALF generation
Goto Forum:
  


Current Time: Thu Apr 25 20:40:46 GMT 2024

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

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

Back to the top