Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how to decorate the console color
how to decorate the console color [message #329429] Tue, 24 June 2008 06:37
nick tan is currently offline nick tanFriend
Messages: 56
Registered: July 2009
Member
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
Previous Topic:Internationalization of a Plugin
Next Topic:DnD for multiple TransferTypes
Goto Forum:
  


Current Time: Fri Aug 23 07:21:57 GMT 2024

Powered by FUDForum. Page generated in 0.02971 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top