Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Question about ResourceChangeListener
Question about ResourceChangeListener [message #334670] Tue, 24 February 2009 08:02
Laurent Petit is currently offline Laurent PetitFriend
Messages: 35
Registered: July 2009
Member
Hello,

In my plugin, I want to detect file deletions, and when some particular files are detected, I want to also detect other related files.

I read in the IResourceChangeEvent javadoc that the workspace is closed for modifications during the POST_CHANGE event.

I guess that it signifies I cannot try to change resources in the workspace right from the thread calling my resourceChanged().

But still, is it possible for me to create and start, from the resourceChanged() method, a new WorkspaceRunnable to do the deletion of the other resources ?

If possible, is it the "idiomatic" way of doing that ?

If not possible, what would be the "idiomatic" way of doing that ?


Thanks in advance,

--
Laurent
Previous Topic:Contributing how-to articles to the Eclipse platform. How?
Next Topic:How do I find new Extension Points?
Goto Forum:
  


Current Time: Sat Jul 13 16:35:20 GMT 2024

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

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

Back to the top