Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Capture action "Run Last"(Log action during programming)
Capture action "Run Last" [message #1733667] Mon, 30 May 2016 16:57
Eclipse UserFriend
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
Previous Topic:Arrays Now Break Code Check
Next Topic:Perspective Problem
Goto Forum:
  


Current Time: Sun Jun 22 11:07:37 EDT 2025

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

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

Back to the top