Skip to main content


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 16:40 Go to next message
Michal Olejnik is currently offline Michal OlejnikFriend
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 04:45 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
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: Thu Mar 28 17:23:30 GMT 2024

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

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

Back to the top