Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:57
neto Mising name is currently offline neto Mising nameFriend
Messages: 33
Registered: July 2009
Member
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: Thu Apr 25 10:36:59 GMT 2024

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

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

Back to the top