Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Access to Problems view
Access to Problems view [message #670268] Fri, 13 May 2011 10:21 Go to next message
Adrian Civil is currently offline Adrian Civil
Messages: 10
Registered: January 2011
Junior Member
Is there any way to get access to the Problems view containing the errors and warnings? For example to determine the number of current errors in the model or to erase all existing errors.

Especially if switch between different models, the Problems view contains errors from different models mixed together. I would like to avoid that...
Re: Access to Problems view [message #670322 is a reply to message #670268] Fri, 13 May 2011 13:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Adrian,

Things in the problems view are there because of IMarkers on the IFile;
you need to use Eclipse's resource APIs to manipulate those directly.
Also, that view is configurable to show problems only for the selected
file...


Adrian Civil wrote:
> Is there any way to get access to the Problems view
> containing the errors and warnings? For example to
> determine the number of current errors in the model or to
> erase all existing errors.
> Especially if switch between different models, the Problems
> view contains errors from different models mixed together.
> I would like to avoid that...
Re: Access to Problems view [message #670479 is a reply to message #670322] Sat, 14 May 2011 11:04 Go to previous message
Adrian Civil is currently offline Adrian Civil
Messages: 10
Registered: January 2011
Junior Member
Gee, honestly didn't know that. That basically solves all my issues... Thanks
Previous Topic:Empty GMFMAP
Next Topic:How to identify top node references in GMF editors
Goto Forum:
  


Current Time: Sat Oct 25 18:24:04 GMT 2014

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

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