Listening to File saves [message #333861] |
Sat, 10 January 2009 00:12 |
Adam Neal![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=aneal%40rogers.com) Messages: 40 Registered: July 2009 |
Member |
|
|
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.02635 seconds