201202203204205206207208209210211
Display display = workBench.getDisplay(); // Make sure to run the UI thread. display.syncExec(new Runnable() { public void run() { JythonLaunchShortcut launchShortcut = new JythonLaunchShortcut(); launchShortcut.launch(debugEditor, "debug"); } }); }