Multiple Validation Classes -- Dynamic [message #1002422] |
Fri, 18 January 2013 09:47  |
Eclipse User |
|
|
|
In thread Using multiple providers there is an explanation how to use multiple Validator classes:
@ComposedChecks(validators={V1.class, V2.class})
public class MyDslJavaValidator extends AbstractMyDslJavaValidator {
}
This works fine if the validation classes are known at compile time. I now have a situation where additional validator classes are defined by new bundles that represent components of the DSL. Each component comes with its own validators. The validator classes are therefore not known at compile time.
Is there a way to easily add such validator classes at runtime to the main Xtext validator?
Regards, Jos
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.20190 seconds