|Re: How to extend Xtext DSL to use a validation class packaged with a library model ? [message #899091 is a reply to message #899075]
||Mon, 30 July 2012 14:22
| Henrik Lindberg
Registered: July 2009
IIRC, the validation uses all registered validators for a model.
Explore the source how your DSL's JavaValidator gets registered and called.
So, basically, the optional library extensions would register their
accompanying validators the same way.
Sorry, but I don't remember the details, but hope that helps you somewhat.
On 2012-30-07 15:38, Cristiano Gaviao wrote:
> I'm working with one DSL and some library models that are packaged in
> its own bundles and could be installed separated.
> I would like to deliver one validation class together to its own library
> (to deal with elements delivered by its library) but I don't want to add
> any dependency from the DSL to the libraries.
> Could someone point me how could I do this ?
Powered by FUDForum
. Page generated in 0.03536 seconds