void (@Nullable String code, @Nullable Editor e) { enableConsole(false); if (code != null) { getPydevConsoleView().executeInConsole(code); } else { IdeFocusManager.findInstance().doWhenFocusSettlesDown(() -> getPydevConsoleView().requestFocus()); } }