Skip to main content


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 CivilFriend
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 MerksFriend
Messages: 33140
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...


Ed Merks
Professional Support: https://www.macromodeling.com/
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 CivilFriend
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: Thu Apr 25 01:34:35 GMT 2024

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

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

Back to the top