@Override
  protected List<AnAction> fillToolBarActions(
      final DefaultActionGroup toolbarActions,
      final Executor defaultExecutor,
      final RunContentDescriptor contentDescriptor) {
    AnAction backspaceHandlingAction = createBackspaceHandlingAction();
    // toolbarActions.add(backspaceHandlingAction);
    AnAction interruptAction = createInterruptAction();

    AnAction rerunAction = createRerunAction();
    toolbarActions.add(rerunAction);

    List<AnAction> actions =
        super.fillToolBarActions(toolbarActions, defaultExecutor, contentDescriptor);

    actions.add(0, rerunAction);

    actions.add(backspaceHandlingAction);
    actions.add(interruptAction);

    actions.add(createSplitLineAction());

    AnAction showVarsAction = new ShowVarsAction();
    toolbarActions.add(showVarsAction);
    toolbarActions.add(myHistoryController.getBrowseHistory());

    toolbarActions.add(new ConnectDebuggerAction());
    return actions;
  }
 @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;
 }