Question about ResourceChangeListener [message #334670] |
Tue, 24 February 2009 03:02 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03295 seconds