|Re: Diagnostic vs. Diagnostic... [message #663540 is a reply to message #663538]
||Tue, 05 April 2011 14:38
| Henrik Lindberg
Registered: July 2009
hm, actually, I can't find that it makes use of the index for the |
feature in that logic.
On 4/5/11 4:26 PM, Henrik Lindberg wrote:
> I can answer myself -
> - henrik
> On 4/5/11 4:18 PM, Henrik Lindberg wrote:
>> Where is the logic that translates a FeatureBasedDiagnostic into a
>> node/location in source ?
>> - henrik
>> On 4/5/11 3:00 AM, Henrik Lindberg wrote:
>>> I am moving some logic that I executed during validation to be performed
>>> after linking. The way to report errors is quite different when getting
>>> an IDiagnosticsConsumer instead of being able to call the error(...)
>>> What is the correct way to report errors ("the same way as in the
>>> validator")? I basically want to report errors against EObject features.
>>> The "Diagnostic" accepted by the IDiagnosticConsumer is not the emf
>>> Diagnostic that is used in the validator, and I found sublcasses for
>>> Linking, Syntax, and Exception issues.
>>> Should I just subclass AbstractDiagnostic ?
>>> - henrik
Powered by FUDForum
. Page generated in 0.03610 seconds