how to decorate the console color [message #329429] |
Tue, 24 June 2008 02:37 |
Eclipse User |
|
|
|
Hi, all,
Here I want to decorate the message printed on console, that says, I want to
decorate the error message (note that It's not stderr) with red color, and
warning message with orange color.
I found that there's an extension point
"org.eclipse.debug.ui.consoleColorProviders" seems to do the job via
overriding the
org.eclipse.debug.ui.console.ConsoleColorProvider.getColor(S tring) according
to the parameter "streamIdentifier".
So I think there must be a way to bind the error message with
ErrorStreamMonitor and the info message with InfoStreamMonitor, but I don't
know how to do it, or I'm not the right way totally?
--
Thanks & Best Regards!
Nick
|
|
|
Powered by
FUDForum. Page generated in 0.04505 seconds