I\'m writing an eclipse-plugin which creating a new Console. Please see my source code:
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow(
Use an IOConsole instead! MessageConsole is basically a read-only version of IOConsole.
IOConsole
MessageConsole
From MessageConsole.createPage(...):
MessageConsole.createPage(...)
public IPageBookViewPage createPage(IConsoleView view) { IOConsolePage page = (IOConsolePage) super.createPage(view); page.setReadOnly(); return page; }