Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » save action('save action' in my eclipse plugin)
save action [message #1766791] Tue, 27 June 2017 10:29 Go to next message
Shoumo Das is currently offline Shoumo DasFriend
Messages: 2
Registered: June 2017
Junior Member
I want to capture the 'save action' in my eclipse plugin. Every time a file is saved, by doing a Ctrl-S or a File-Save, I want to generate an alert. Can you please help me out.
Re: save action [message #1767019 is a reply to message #1766791] Thu, 29 June 2017 14:48 Go to previous message
Toivo Adams is currently offline Toivo AdamsFriend
Messages: 2
Registered: June 2017
Junior Member
Which kind of plugin you are developing?
I assume it's some kind of editor.
If so any editor which implements ISaveablePart has methods
doSave
doSaveAs

You can overwrite those methods do catch save.
Previous Topic:FXCanvas immediate feedback during drag and drop
Next Topic:Java handle outlook email
Goto Forum:
  


Current Time: Tue Dec 12 18:13:16 GMT 2017

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

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