Help how to implement refreshLocal [message #334907] |
Mon, 09 March 2009 15:00  |
Eclipse User |
|
|
|
Hi,
We have added refreshLocal in our plugin. It is called when we do an
action.
I remember that the workspace needed some workspace locking otherwise you
would get the following error:
My problem is slightly different since I have a StateCache for all
elements in the workspace. I need to run as a background job to check the
state of the elements in the workspace.However I need to take into account
the changes that are made to the workspace but not with Eclipse. Here I
need to use refreshLocal() to take into account changes that happen in the
file system. How can I lock the workspace during my refreshLocal()? Are
there any examples?
cheers,
//mike
|
|
|
|
Powered by
FUDForum. Page generated in 0.05179 seconds