|
|
Re: Printing stuff into the Console View [message #303652 is a reply to message #303527] |
Thu, 18 May 2006 10:28  |
Eclipse User |
|
|
|
Originally posted by: weinhold.de.ibm.com
Under Eclipse 3.x I can use this stuff :
IConsoleManager consoleManager =
ConsolePlugin.getDefault().getConsoleManager();
myConsole= new MessageConsole(p_LoggerName,null);
myDebugConsoleStream= new MessageConsoleStream(myConsole);
But under Eclipse 2.x I don't know where to get a concrete instance of the
IConsole.
There is a org.eclipse.debug.ui.console.IConsole but this is only an
interface ... Someone an glu
"Kevin Barnes" <krbarnes@ca.ibm.com> wrote in message
news:e4erev$qoi$1@utils.eclipse.org...
> Rainer Weinhold wrote:
>> Hi,
>>
>> I'm using Eclipse 2 and I want to print something into the Console View.
>> Had someone done this ?
>>
>> regards Rainer
>
> You can create and use a MessageConsole for this. It's been a long time
> since I looked at Eclipse 2, but the javadoc for MessageConsole, IConsole,
> and IConsoleManager should help you get started.
> HTH
> Kevin
|
|
|
Powered by
FUDForum. Page generated in 0.03777 seconds