Reputation: 14238
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
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