• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question about IResourceChangeListener

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
My Objective is this:
Implement IResourceChangeListner in an eclipse Plugin project that will listen for the movement of the Project(for examaple when we do Team>Share and the project is moved to the VOB) and when such a movement is found move some other folder to the same location.
I am trying to capture the combination of POST_CHANGE and IResourceDelta.CHANGE event which I get when the project is moved ..but not able to find out how to use things MOVED_FROM, MOVED_TO or getMovedFromPath() or getMovedToPath() to get the the complete picture before doing the movement of my resources.
Do they even apply for this kind of movement? I always get null when i try to use getMovedFromPath or getMovedToPath in the IResourceDelta.CHANGE case
Any help will be appreciated
Thanks.
 
prakash chauhan
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
or maybe is there a way by which i can specifically be notified when the project location is changed by the CCRC Plugin so that i dont have to process all the change events generated in the workspace?

Thanks
Prakash
reply
    Bookmark Topic Watch Topic
  • New Topic