Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Detecting problem marker update completion(How to detect if problem marker update has completed?)
Detecting problem marker update completion [message #1425309] Wed, 17 September 2014 05:49 Go to next message
Badri narayan is currently offline Badri narayanFriend
Messages: 7
Registered: April 2013
Junior Member
I have some models in my workspace. When I run validation, the problem markers get created and are shown in problems view if the models have problem. I need to do some cleanup action after all problem markers have been created. Is there any way to detect and wait for completion of problem marker creation, so that the next action can follow this job?

[Updated on: Wed, 17 September 2014 05:50]

Report message to a moderator

Re: Detecting problem marker update completion [message #1438562 is a reply to message #1425309] Mon, 06 October 2014 07:54 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 17/09/2014 07:50, Badri narayan wrote:
> I have some models in some workspace. When I run validation, the problem
> markers get created and are shown in problems view if the models have
> problem. I need to do some cleanup action after all problem markers have
> been created. Is there any way to detect and wait completion of problem
> marker creation, so that the next action can follow this job?

Marker creation triggers resource notification, so you can register a
resource change listener on the workspace and you'll be called.

The alternative is to use a customized validate action.
Previous Topic:[CDO] Improve performance during loading
Next Topic:EMF Databinding for CheckboxTableViewer.checkedElements
Goto Forum:
  


Current Time: Mon Nov 20 21:22:24 GMT 2017

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

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