*/
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
System.out.println("=> Running PPDevDebug...(");
EvaluationContext ctx = (EvaluationContext) event.getApplicationContext();
String pluginid = PPActivator.getInstance().getBundle().getSymbolicName();
Object editor = ctx.getVariable("activeEditor");
if(editor == null || !(editor instanceof XtextEditor)) {
return new Status(IStatus.ERROR, pluginid, "Handler invoked on wrong type of editor: XtextEditor");
}
XtextEditor xtextEditor = (XtextEditor) editor;
IXtextDocument xtextDocument = XtextDocumentUtil.get(xtextEditor);