Search in sources :

Example 1 with OwnConsoleMessage

use of jetbrains.communicator.idea.messagesWindow.OwnConsoleMessage in project intellij-plugins by JetBrains.

the class OutgoingCodePointerLocalMessage method createConsoleMessage.

public ConsoleMessage createConsoleMessage(User user) {
    return new OwnConsoleMessage(user, StringUtil.getMsg("code.pointer"), getWhen()) {

        public void printMessage(Project project, ConsoleView console) {
            final IDEAFacade ideFacade = (IDEAFacade) Pico.getInstance().getComponentInstanceOfType(IDEFacade.class);
            IncomingCodePointerMessage printer = new IncomingCodePointerMessage(myEvent, ideFacade);
            printer.outputMessage(console);
        }
    };
}
Also used : Project(com.intellij.openapi.project.Project) IncomingCodePointerMessage(jetbrains.communicator.idea.codePointer.IncomingCodePointerMessage) ConsoleView(com.intellij.execution.ui.ConsoleView) OwnConsoleMessage(jetbrains.communicator.idea.messagesWindow.OwnConsoleMessage) IDEFacade(jetbrains.communicator.ide.IDEFacade)

Aggregations

ConsoleView (com.intellij.execution.ui.ConsoleView)1 Project (com.intellij.openapi.project.Project)1 IDEFacade (jetbrains.communicator.ide.IDEFacade)1 IncomingCodePointerMessage (jetbrains.communicator.idea.codePointer.IncomingCodePointerMessage)1 OwnConsoleMessage (jetbrains.communicator.idea.messagesWindow.OwnConsoleMessage)1