How to know when IResource.refreshLocal has finished in Oxygen? [message #1767952] |
Wed, 12 July 2017 07:12  |
Eclipse User |
|
|
|
I'm porting my application from eclipse Mars to Oxygen.
I have my own implementation of IProgressMonitor that set a variable to true when the done() method is executed and after calling refreshLocal I'm checking if this variable is true to know when refreshLocal has finished, and it was working in previous releases to Oxygen because the refreshLocal method was calling the monitor.done() method when the refesh finish.
But in Oxygen the IResource.refreshLocal() never calls the monitor.done() method so my code is no longer working.
How can I know in Oxygen when IResource.refreshLocal() has finished?
The change in org.eclipse.core.internal.resources.Resource was done for
Bug 477409 - Replace SubProgressMonitor with SubMonitor in (https://github.com/eclipse/eclipse.platform.resources/commit/cead60cc0b2d28f291f7afb2695282d033587cae)
Thanks in advance.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03500 seconds