|Is it possible to add handler before "Save all" is performed ? [message #1747032]
||Tue, 08 November 2016 17:00
| Gidi Gal
Registered: July 2009
Hello to the forum members,|
I have code that handles save operations through implementation of org.eclipse.core.resources.IResourceChangeListener
I have some code that should run only when all files were saved (meaning they were all handled through the IResourceChangeListener.resourceChanged method).
I am looking if I can add hook before "Save All" is performed, so I can track the dirty editors and then keep the information about the modified files that are about to be saved. I found the handler for "Save All", org.eclipse.ui.internal.SaveAllAction. However, I don't see in Eclipse code that it generates event before it is running.
If you have ideas how can add hook before "Save all" is performed, I will be grateful if you could share them here.
Many thanks for your help,
[Updated on: Tue, 08 November 2016 17:01]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01766 seconds