@NotNull
 @Override
 protected ProcessBackedConsoleExecuteActionHandler createExecuteActionHandler() {
   myConsoleExecuteActionHandler =
       new PydevConsoleExecuteActionHandler(
           getConsoleView(), getProcessHandler(), myPydevConsoleCommunication);
   myConsoleExecuteActionHandler.setEnabled(false);
   myHistoryController =
       new ConsoleHistoryController(
           myConsoleType.getTypeId(),
           "",
           getLanguageConsole(),
           myConsoleExecuteActionHandler.getConsoleHistoryModel());
   myHistoryController.install();
   return myConsoleExecuteActionHandler;
 }
 private void enableConsoleExecuteAction() {
   myConsoleExecuteActionHandler.setEnabled(true);
 }
 private boolean isIndentSubstring(String text) {
   int indentSize = myConsoleExecuteActionHandler.getPythonIndent();
   return text.length() >= indentSize
       && CharMatcher.WHITESPACE.matchesAllOf(text.substring(text.length() - indentSize));
 }