Capture action "Run Last" [message #1733667] |
Mon, 30 May 2016 20:57 |
|
Hi all,
I'm developing an eclipse plugin that logs all actions performed by a programmer. One of the most important is to know when the developer executes the code or test.
Searching on the internet, I could find that I can access this information by:
@Override
public void earlyStartup() {
ICommandService commandService = (ICommandService) PlatformUI.getWorkbench()
.getAdapter(ICommandService.class);
commandService.addExecutionListener(new MyListener());
}
It works fine when the developer clicks on "Run..">> "Run Java Application".
However, clicking only on the button "Run", when an application was executed before, this code does not capture this action.
Does someone know how to listening to all code execution?
Thanks in advance
|
|
|
Powered by
FUDForum. Page generated in 0.04707 seconds