Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Updating custom Marker View
Updating custom Marker View [message #485168] Thu, 10 September 2009 12:40 Go to next message
Michal Olejnik is currently offline Michal Olejnik
Messages: 13
Registered: July 2009
Junior Member
Hello,

In my plugin I created a custom Markers View to display only specific
markers (in this case notifications about test failures). However, I can't
make it to update as soon as markers are added/removed. It is visible
immediately in editor (the marker icon appears/disappears from the bar
next to line number) and in the PackageExplorer view (the error icon
appears/disappears on related project), but my custom view has to think
for quite some time before it shows current state. Therefore, I'd like to
ask if there is any way to manually refresh custom markers view or at
least shorten the amount of time it takes to refresh itself.

Thanks in advance.

Best regards,
Michal Olejnik
Re: Updating custom Marker View [message #485267 is a reply to message #485168] Fri, 11 September 2009 00:45 Go to previous message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
Michal Olejnik wrote:
> my custom view has to
> think for quite some time before it shows current state. Therefore, I'd
> like to ask if there is any way to manually refresh custom markers view
> or at least shorten the amount of time it takes to refresh itself.

Updating the Marker View could potentially take a lot of time, so its
not done in any of the listeners. Its done thru a background job. Its
scheduled with a 30s delay - which cannot be changed as of now. I would
suggest you to raise a bug if you need the delay to be configurable.

- Prakash

Platform UI Team, IBM
http://blog.eclipse-tips.com
Previous Topic:JFace dialog button bar doesn't show until dialog is resized
Next Topic:Main arguments for plugins tests
Goto Forum:
  


Current Time: Fri Aug 22 11:52:35 EDT 2014

Powered by FUDForum. Page generated in 0.01786 seconds