Listening to File saves [message #333861] |
Fri, 09 January 2009 19:12 |
Eclipse User |
|
|
|
Hi,
I am trying to find a way to be notified when the user explictly saves an
IFile. Using a ResourceChangeListener isn't good enough since its notified
by any type of change (i.e. if a file has been overwritten, or built ...).
Using an ISaveParticipant doesn't work either as this seems to be only for
workspace saves, it doesn't get invoked specifically for an Editor Save.
Debugging through the code, I don't really see any hooks, but perhaps I've
just missed it. Does anyone know of a way to be notified only when an
ITextEditor is saved? (or at least when the user has pressed CTRL+S or
clicked Save from the file menu, etc...)
Thanks in advance,
Adam
|
|
|
Powered by
FUDForum. Page generated in 0.02262 seconds