Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Eclipse Sirius - Validation Rules(Eclipse Sirius - Validation Rules)
Eclipse Sirius - Validation Rules [message #1416262] Thu, 04 September 2014 17:56 Go to next message
VVasanth Kumar is currently offline VVasanth KumarFriend
Messages: 13
Registered: July 2012
Junior Member
Hi,

Could you please let me know how to create validation rules in Sirius diagram?

I would like to display an error based on the property value of the node in my model.

Request your help in achieving this.

In 'Semantic Validation Rule', 'Message' field displays the tooltip as 'Expected return type: a boolean'. But I am not sure how to access the property and check the value.

If you direct me to any .odesign file that contains validation that would be great.

Thanks,
V.Vasanth
Re: Eclipse Sirius - Validation Rules [message #1417321 is a reply to message #1416262] Fri, 05 September 2014 07:10 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi,

you may find validation rules example in the Ecore Tools VSM [1]
Here is a pointer to the validation rule documentation [2]

Please let me know if you encounter any issue.
Regards,
Alex

[1]
http://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/tree/org.eclipse.emf.ecoretools.design/description/ecore.odesign
[2]
https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#validation

Le 04/09/2014 19:56, VVasanth Kumar a écrit :
> Hi,
>
> Could you please let me know how to create validation rules in Sirius
> diagram?
>
> I would like to display an error based on the property value of the node
> in my model.
>
> Request your help in achieving this.
>
> In 'Semantic Validation Rule', 'Message' field displays the tooltip as
> 'Expected return type: a boolean'. But I am not sure how to access the
> property and check the value.
> If you direct me to any .odesign file that contains validation that
> would be great.
>
> Thanks,
> V.Vasanth


--
Alex Lagarde - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius/
Re: Eclipse Sirius - Validation Rules [message #1817878 is a reply to message #1417321] Mon, 02 December 2019 06:26 Go to previous message
edwards paul is currently offline edwards paulFriend
Messages: 2
Registered: December 2019
Junior Member
Hey Guys,

I can help you out to know how to use validation rule in Access database. but sorry dear I don't have any idea about how to create validation rules in Sirius diagram. I share what I know, maybe you get some help from that. If you will also get perfect solution on how to create validation rules in Sirius diagram then let me know. I will wait for your response too because I want to learn that also.

source:
www.accessrepairnrecovery.com/blog/ms-access-validation-rule
Previous Topic:Transition class for State-machine diagram
Next Topic:Sirius 0.9 install problem on Kepler
Goto Forum:
  


Current Time: Wed Feb 19 07:18:04 GMT 2020

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

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

Back to the top