Search in sources :

Example 1 with ConsoleHistoryController

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

the class PydevConsoleRunnerImpl method createExecuteActionHandler.

@NotNull
protected PydevConsoleExecuteActionHandler createExecuteActionHandler() {
    myConsoleExecuteActionHandler = new PydevConsoleExecuteActionHandler(myConsoleView, myProcessHandler, myPydevConsoleCommunication);
    myConsoleExecuteActionHandler.setEnabled(false);
    new ConsoleHistoryController(myConsoleType.getTypeId(), "", myConsoleView).install();
    return myConsoleExecuteActionHandler;
}
Also used : ConsoleHistoryController(com.intellij.execution.console.ConsoleHistoryController) NotNull(org.jetbrains.annotations.NotNull)

Example 2 with ConsoleHistoryController

use of com.intellij.execution.console.ConsoleHistoryController 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)2 NotNull (org.jetbrains.annotations.NotNull)2 ProcessBackedConsoleExecuteActionHandler (com.intellij.execution.console.ProcessBackedConsoleExecuteActionHandler)1