Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Help how to implement refreshLocal
Help how to implement refreshLocal [message #334907] Mon, 09 March 2009 19:00 Go to next message
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 158
Registered: July 2009
Senior Member
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
Re: Help how to implement refreshLocal [message #334908 is a reply to message #334907] Mon, 09 March 2009 19:04 Go to previous message
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 158
Registered: July 2009
Senior Member
Sorry forgot:

This is the error message that I will have otherwise:

Attempted to beginRule: R/, does not match outer scope rule ...

//mike
Previous Topic:saving resources
Next Topic:Common Navigator Framework content extensions....
Goto Forum:
  


Current Time: Sat Jul 13 22:38:31 GMT 2024

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

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

Back to the top