Updating custom Marker View [message #485168] |
Thu, 10 September 2009 12:40  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02934 seconds