Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Getting linking diagnostics from reconciler
Getting linking diagnostics from reconciler [message #1059704] Tue, 21 May 2013 09:47 Go to next message
Marco Naddeo is currently offline Marco NaddeoFriend
Messages: 62
Registered: November 2012
Member
Hi

I've subclassed XtextDocumentReconcileStrategy because I want to do some processing on linking diagnostic, but I don't understand how I can obtain them from the reconcile method:

public class MyDSLDocumentReconcileStrategy extends XtextDocumentReconcileStrategy {

  @Override
  public void reconcile(IRegion region) {

    ...

  }

}


Class XtextResource has methods getErrors and getWarnings which return syntax errors and warnings, but how can I retrieve instead linking diagnostics?


Thanks in advance,
Marco
Re: Getting linking diagnostics from reconciler [message #1060007 is a reply to message #1059704] Wed, 22 May 2013 14:15 Go to previous message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

I am pretty sure that you are choosing the wrong entry point. Have you had a look at ILinkingDiagnosticMessageProvider?

Alex


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Previous Topic:Applying (uml) stereotypes?
Next Topic:Write new resource description very slow
Goto Forum:
  


Current Time: Thu Apr 25 17:55:56 GMT 2024

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

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

Back to the top