Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EMF Client » Custom Validations in ECP (How to customize the model level validations in ECP)
Custom Validations in ECP [message #1426060] Thu, 18 September 2014 07:26 Go to next message
chaitanya reddy is currently offline chaitanya reddyFriend
Messages: 9
Registered: September 2014
Junior Member
I want to customize the validations for my ecore model . Using ECP, i want to provide custom validations . am not getting any error message if created one plugin that extends validation proivder (org.eclipse.emf.ecp.view.validation.validationProvider)


Thanks
chaitanya
Re: Custom Validations in ECP [message #1691937 is a reply to message #1426060] Fri, 10 April 2015 14:35 Go to previous message
Aboubacar Kaba is currently offline Aboubacar KabaFriend
Messages: 9
Registered: March 2015
Junior Member
Hi,
Quick questions:
Have you registered the class of your ValidationProvider implementation in the extension?
Have you made sure that the Diagnostinc(s) that you return in your validationProvider contain the feature that violates the constraint along side the EObject in the last argument array?

Ensuring these should make your error display in the UI in ECP.
Previous Topic:IMPORTANT PLEASE READ: This newsgroup is shut down
Next Topic:IMPORTANT PLEASE READ: This newsgroup moved to the EMFT newsgroup
Goto Forum:
  


Current Time: Thu Sep 20 18:01:33 GMT 2018

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

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

Back to the top