SomeDude
SomeDude

Reputation: 14238

Listener for all jface actions similar to IExecutionListener

In eclipse, there is a listener for any org.eclipse.core.command that is executed - org.eclipse.core.commands.IExecutionListener.

Is there such listener for jface action? I know you can add a property change listener to a jface action. But what I am looking for is a listener at framework level where it listens to all actions being executed in the application. It is probably possible to write such a listener, but is anything provided out of the box?

Upvotes: 0

Views: 64

Answers (1)

greg-449
greg-449

Reputation: 111227

No, there is nothing that does this.

Lots of code in Eclipse calls the IAction run or runWithEvent methods directly without going through any centralised service so it is not possible to do this.

Upvotes: 1

Related Questions