Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Overriding JvmTypeReferencesValidator
Overriding JvmTypeReferencesValidator [message #1140776] Wed, 16 October 2013 15:52 Go to next message
Victor Noël is currently offline Victor NoëlFriend
Messages: 112
Registered: June 2010
Senior Member
Hi,

What is the best way of overriding JvmTypeReferencesValidator?

If I just create a class to override it, I'm worried that both classes will be used during Validation, while it would be desired that only the overriding class is.

Thank you
Re: Overriding JvmTypeReferencesValidator [message #1141035 is a reply to message #1140776] Wed, 16 October 2013 19:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
Hi,

simply overriding the bind method doesnt work? (yourdslRuntimeModule)


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Overriding JvmTypeReferencesValidator [message #1141058 is a reply to message #1141035] Wed, 16 October 2013 20:12 Go to previous message
Victor Noël is currently offline Victor NoëlFriend
Messages: 112
Registered: June 2010
Senior Member
Hi,

Oh, I had the memory it was one of these validator invoked directly by the resource validator without being bound in the module.

But then, if I do so (overwrite the class, redefine a method and then override the binding in the module), the validator (none of its check method, even those not overridden) is not called anymore, I may be missing a detail somewhere...

Thank you
Previous Topic:Specific case-insensitive references
Next Topic:Global vars with "new" GlobalVarExtensions.getGlobalVar
Goto Forum:
  


Current Time: Fri Mar 29 05:47:56 GMT 2024

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

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

Back to the top