Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to test a file for synchronisation?
How to test a file for synchronisation? [message #486252] Wed, 16 September 2009 21:14 Go to next message
No real name is currently offline No real nameFriend
Messages: 61
Registered: July 2009
Member
Hi,

if I modify a file outside of eclipse and then open it in eclipse I get a
"ressource is out of sync" message in the editor. I want to do this
programmaticly for a plugin of mine. So how do I check programmaticly if a
file has been modified?


thank you


P.S.
I hope this is the right newsgroup.
Re: How to test a file for synchronisation? [message #486329 is a reply to message #486252] Thu, 17 September 2009 09:48 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Usul wrote:
> So how do I check programmaticly if
> a file has been modified?

IResource.isSynchronized()


- Prakash

Platform UI Team, IBM
http://blog.eclipse-tips.com
Previous Topic:[PDE] eclipse export wizard bug.
Next Topic:Re: Enabling commands for particular file types only
Goto Forum:
  


Current Time: Wed May 08 07:38:07 GMT 2024

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

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

Back to the top