Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to execute code before saving?
How to execute code before saving? [message #1002435] Fri, 18 January 2013 15:19 Go to next message
Marco Naddeo is currently offline Marco NaddeoFriend
Messages: 62
Registered: November 2012
Hi all Smile

I need to execute some code before each saving... is there a way to do this?

Re: How to execute code before saving? [message #1003640 is a reply to message #1002435] Mon, 21 January 2013 17:09 Go to previous message
Curtis Windatt is currently offline Curtis WindattFriend
Messages: 166
Registered: July 2009
Senior Member
The JDT Java Editor has a number of actions you can perform on save. I'm not sure if you can contribute through a JDT API. If not you could look how JDT activates those actions on save and replicate that for your own editor.
Previous Topic:How to format a <tool>`s <option>`s tip text?
Next Topic:Implement FormEditor for own XML format / Java model
Goto Forum:

Current Time: Fri Dec 15 08:35:17 GMT 2017

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

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