Search in sources :

Example 1 with ProcessBackedConsoleExecuteActionHandler

use of com.intellij.execution.console.ProcessBackedConsoleExecuteActionHandler in project intellij-community by JetBrains.

the class GroovyShellRunnerImpl method createExecuteActionHandler.

@NotNull
@Override
protected ProcessBackedConsoleExecuteActionHandler createExecuteActionHandler() {
    ProcessBackedConsoleExecuteActionHandler handler = new ProcessBackedConsoleExecuteActionHandler(getProcessHandler(), false) {

        @Override
        public String getEmptyExecuteAction() {
            return GROOVY_SHELL_EXECUTE;
        }
    };
    new ConsoleHistoryController(getConsoleTitle(), null, getConsoleView()).install();
    return handler;
}
Also used : ProcessBackedConsoleExecuteActionHandler(com.intellij.execution.console.ProcessBackedConsoleExecuteActionHandler) ConsoleHistoryController(com.intellij.execution.console.ConsoleHistoryController) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

ConsoleHistoryController (com.intellij.execution.console.ConsoleHistoryController)1 ProcessBackedConsoleExecuteActionHandler (com.intellij.execution.console.ProcessBackedConsoleExecuteActionHandler)1 NotNull (org.jetbrains.annotations.NotNull)1