I'm writing a grammar that has an existing validator. I'd like to use the existing validator to validate the code, and integrate it with the built in XText validation mechanism, so it will work seamlessley.
How can I :
A) - Access the raw code so I can pass it to the external validator?
B) - Having parsed the output of the validator, pass the result back to the eclipse UI?