Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Please Help -Using EMFT Validation in GMF
Please Help -Using EMFT Validation in GMF [message #46235] Tue, 22 August 2006 14:21 Go to next message
Eclipse UserFriend
Originally posted by: senthil.periasamy.flextronicssoftware.com

Hi ,

I want to validate my model using EMF validation framework.
If i have to achieve this using GMF(i.e, EMF validation invoked through
GMF).
Pls let me know if this is possible, and if possible how should i go about
achieving the same.

can i make use of the org.eclipse.emf.validation.constraintProviders
extension in
the GMF projects plugin.xml to define my project specific constraints.
Is it possible to register the constraints of the model (EMF model) with
validation service through GMF's plugin.xml file.




Regards
Senthil
Re: Please Help -Using EMFT Validation in GMF [message #46267 is a reply to message #46235] Tue, 22 August 2006 14:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Senthil,

When posting the same question to multiple newsgroups, please use a
single posting so that an answer on any group is an answer on all groups.

Senthil wrote:
> Hi ,
> I want to validate my model using EMF validation framework.
> If i have to achieve this using GMF(i.e, EMF validation invoked
> through GMF).
> Pls let me know if this is possible, and if possible how should i go
> about achieving the same.
>
> can i make use of the org.eclipse.emf.validation.constraintProviders
> extension in the GMF projects plugin.xml to define my project specific
> constraints.
> Is it possible to register the constraints of the model (EMF model)
> with validation service through GMF's plugin.xml file.
>
>
>
>
> Regards
> Senthil
>
Re: Please Help -Using EMFT Validation in GMF [message #46670 is a reply to message #46235] Thu, 24 August 2006 19:53 Go to previous message
Chris McGee is currently offline Chris McGeeFriend
Messages: 99
Registered: July 2009
Member
Hi Senthil,

If in your case GMF is calling the EMFT validation framework then you
can contribute your validation constraint against the
"org.eclipse.emf.validation.constraintProviders" extension point.

However, you will need to either use a GMF client context or provide
your own client context to ensure that your constraint gets evaluated.
This is a measure that we have included to prevent someone from
accidentally contributing a constraint that gets evaluated in places
where it is not intended.

There are tutorials and examples available as part of the EMFT
validation SDK that should provide more details about how to create a
constraint and a client context.

HTH,
Chris McGee

Senthil wrote:
> Hi ,
> I want to validate my model using EMF validation framework.
> If i have to achieve this using GMF(i.e, EMF validation invoked through
> GMF).
> Pls let me know if this is possible, and if possible how should i go
> about achieving the same.
>
> can i make use of the org.eclipse.emf.validation.constraintProviders
> extension in the GMF projects plugin.xml to define my project specific
> constraints.
> Is it possible to register the constraints of the model (EMF model) with
> validation service through GMF's plugin.xml file.
>
>
>
>
> Regards
> Senthil
>
Re: Please Help -Using EMFT Validation in GMF [message #586020 is a reply to message #46235] Tue, 22 August 2006 14:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Senthil,

When posting the same question to multiple newsgroups, please use a
single posting so that an answer on any group is an answer on all groups.

Senthil wrote:
> Hi ,
> I want to validate my model using EMF validation framework.
> If i have to achieve this using GMF(i.e, EMF validation invoked
> through GMF).
> Pls let me know if this is possible, and if possible how should i go
> about achieving the same.
>
> can i make use of the org.eclipse.emf.validation.constraintProviders
> extension in the GMF projects plugin.xml to define my project specific
> constraints.
> Is it possible to register the constraints of the model (EMF model)
> with validation service through GMF's plugin.xml file.
>
>
>
>
> Regards
> Senthil
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Please Help -Using EMFT Validation in GMF [message #586270 is a reply to message #46235] Thu, 24 August 2006 19:53 Go to previous message
Chris McGee is currently offline Chris McGeeFriend
Messages: 99
Registered: July 2009
Member
Hi Senthil,

If in your case GMF is calling the EMFT validation framework then you
can contribute your validation constraint against the
"org.eclipse.emf.validation.constraintProviders" extension point.

However, you will need to either use a GMF client context or provide
your own client context to ensure that your constraint gets evaluated.
This is a measure that we have included to prevent someone from
accidentally contributing a constraint that gets evaluated in places
where it is not intended.

There are tutorials and examples available as part of the EMFT
validation SDK that should provide more details about how to create a
constraint and a client context.

HTH,
Chris McGee

Senthil wrote:
> Hi ,
> I want to validate my model using EMF validation framework.
> If i have to achieve this using GMF(i.e, EMF validation invoked through
> GMF).
> Pls let me know if this is possible, and if possible how should i go
> about achieving the same.
>
> can i make use of the org.eclipse.emf.validation.constraintProviders
> extension in the GMF projects plugin.xml to define my project specific
> constraints.
> Is it possible to register the constraints of the model (EMF model) with
> validation service through GMF's plugin.xml file.
>
>
>
>
> Regards
> Senthil
>
Previous Topic:CDO Questions
Next Topic:EMFT Transaction
Goto Forum:
  


Current Time: Thu Dec 26 15:23:37 GMT 2024

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

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

Back to the top