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
Member
Hi all Smile

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


Marco
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:Disable transformation of product to wrapper feature during PDE build?
Next Topic:How to get event on eclipse plugin installation / updation ?
Goto Forum:
  


Current Time: Fri Nov 21 12:17:27 GMT 2014

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

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