Wednesday, November 12, 2014

Eclipse: Adding a new console and writing messages to it

http://www.jevon.org/wiki/writing_to_a_console_in_eclipse

MessageConsole console = new MessageConsole("Node Console", null);
console.activate();
ConsolePlugin.getDefault().getConsoleManager().addConsoles(new IConsole[]{ console });
MessageConsoleStream stream = console.newMessageStream();
stream.println("Hello, world!");


This is how it looks..


No comments:

Post a Comment