void (RunContentDescriptor contentDescriptor) { ToolWindow toolwindow = PythonConsoleToolWindow.getToolWindow(myProject); toolwindow.getComponent().putClientProperty(STARTED_BY_RUNNER, "true"); PythonConsoleToolWindow.getInstance(myProject).init(toolwindow, contentDescriptor); }