Package com.intellij.execution.impl

Examples of com.intellij.execution.impl.ConsoleViewImpl


        // Prepare GDB
        m_gdb = new Gdb(m_configuration.GDB_PATH, m_configuration.workingDir, this);

        // Create the GDB console
        m_gdbConsole = new GdbConsoleView(m_gdb, session.getProject());
        m_gdbRawConsole = new ConsoleViewImpl(session.getProject(), true);

        m_gdbConsole.getConsole().print(m_timeFormat.format(new Date()) + " 0> " +
                m_configuration.GDB_PATH + " --interpreter=mi2\n", ConsoleViewContentType.USER_INPUT);

        // Create the breakpoint handler
View Full Code Here


    // The last command that was sent
    private String m_lastCommand;

    public GdbConsoleView(Gdb gdb, @NotNull Project project) {
        m_gdb = gdb;
        m_console = new ConsoleViewImpl(project, true);
        m_consoleContainer.add(m_console.getComponent(), BorderLayout.CENTER);
        m_prompt.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent event) {
                String command = event.getActionCommand();
View Full Code Here

    final TextConsoleBuilderImpl builder = new TextConsoleBuilderImpl(project) {
      private final ArrayList<Filter> filters = new ArrayList<Filter>();

      @Override
      public ConsoleView getConsole() {
        final ConsoleViewImpl view = new ConsoleViewImpl(project, false);
        for (Filter filter : filters) {
          view.addMessageFilter(filter);
        }
        return view;
      }

      @Override
View Full Code Here

   * @param text
   */
  public static void processOutput(LanguageConsoleImpl console, String text, Key attributes) {
    final ConsoleViewContentType outputType = ConsoleViewContentType.NORMAL_OUTPUT;
    // todo implement multiple cases for error etc.
    final ConsoleViewImpl consoleView = console.getHistoryViewer().getUserData(ConsoleViewImpl.CONSOLE_VIEW_IN_EDITOR_VIEW);
    if (consoleView != null) {
      consoleView.print(text, outputType);
    }
  }
View Full Code Here

TOP

Related Classes of com.intellij.execution.impl.ConsoleViewImpl

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.