Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Control for validation
Control for validation [message #63234] Mon, 27 July 2009 17:46 Go to next message
Martin Kuhn is currently offline Martin KuhnFriend
Messages: 49
Registered: July 2009
Member
HI,

I read in the docu that I'm able to control the validaton. I would like to
change the validation to "NORMAL" (check only on save).

But I don't find in the docu what I have to do to achieve this.

Could anybody give me a hint?

TIA
Martin
Re: Control for validation [message #63282 is a reply to message #63234] Mon, 27 July 2009 17:54 Go to previous messageGo to next message
Martin Kuhn is currently offline Martin KuhnFriend
Messages: 49
Registered: July 2009
Member
I recognized that I'm able to set it via the @Check annotation for a
method (e.g. @Check(CheckType.NORMAL) ) in the Validator class

Is it possible to change the predefined checkmode without to set it for
every methdod?
Re: Control for validation [message #63305 is a reply to message #63282] Mon, 27 July 2009 18:01 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Martin,

this is currently not possible.

Regards,
Sebastian

--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 27.07.2009 19:54 Uhr, schrieb Martin Kuhn:
> I recognized that I'm able to set it via the @Check annotation for a
> method (e.g. @Check(CheckType.NORMAL) ) in the Validator class
>
> Is it possible to change the predefined checkmode without to set it for
> every methdod?
>
Previous Topic:Ecore meta model to Xtext grammar
Next Topic:Xtext debug?
Goto Forum:
  


Current Time: Thu Dec 26 22:32:55 GMT 2024

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

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

Back to the top