[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Save handler when editing files not in workspace using eclipse default edito

Thanks Paul.

Adding IExecutionListener to the ICommandService worked. However, clicking the save icon in the toolbar or clicking file->save menu, IExecutionListener was not executed.

I read your articles but I still can't find how to fire the codes when i click save icon in the toolbar or if i click file->save menu.



Paul Webster wrote:

You could add an IExecutionListener to the ICommandService ... when the save command is executed it fires events. The command id is org.eclipse.ui.file.save

Check out some of the links in my sig for information on the command framework.

PW