Package com.intellij.execution.console

Examples of com.intellij.execution.console.ConsoleHistoryController


                                                                ProcessHandler processHandler,
                                                                HaskellConsoleExecuteActionHandler executeHandler,
                                                                ConsoleHistoryModel historyModel) {
        AnAction runImmediatelyAction = new HaskellExecuteImmediatelyAction(languageConsole, processHandler, executeHandler);

        ConsoleHistoryController historyController = new ConsoleHistoryController("haskell", null, languageConsole, historyModel);
        historyController.install();

        AnAction upAction = historyController.getHistoryPrev();
        AnAction downAction = historyController.getHistoryNext();

        ArrayList<AnAction> list = new ArrayList<AnAction>();
        list.add(runImmediatelyAction);
        list.add(downAction);
        list.add(upAction);
View Full Code Here


    OutputStream processInput = processHandler.getProcessInput();
    assert processInput != null;
    //noinspection IOResourceOpenedButNotSafelyClosed
    myProcessInputWriter = new OutputStreamWriter(processInput);
    myConsoleHistoryModel = new ConsoleHistoryModel();
    new ConsoleHistoryController("Erlang", null, getConsole(), myConsoleHistoryModel).install();
    ErlangConsoleViewDirectory.getInstance().addConsole(this);
  }
View Full Code Here

                                                             final ClojureConsoleExecuteActionHandler consoleExecuteActionHandler,
                                                             final ConsoleHistoryModel historyModel) {

    final AnAction runImmediatelyAction = new ClojureExecuteImmediatelyAction(languageConsole, processHandler, consoleExecuteActionHandler);

    final ConsoleHistoryController historyController = new ConsoleHistoryController("clojure", null, languageConsole, historyModel);
    historyController.install();

    final AnAction upAction = historyController.getHistoryPrev();
    final AnAction downAction = historyController.getHistoryNext();

    final ArrayList<AnAction> list = new ArrayList<AnAction>();
    list.add(runImmediatelyAction);
    list.add(downAction);
    list.add(upAction);
View Full Code Here

            @Override
            public String getEmptyExecuteAction() {
                return "Mongo.Shell.Execute";
            }
        };
        new ConsoleHistoryController("Mongo Shell", null, getLanguageConsole(), handler.getConsoleHistoryModel()).install();
        return handler;
    }
View Full Code Here

TOP

Related Classes of com.intellij.execution.console.ConsoleHistoryController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.