Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Should be able to apply different colors to different messages which are output to MessageConsoleStr

Bharat,
Each stream can only have one color, but you may create as many streams as 
needed to get the colorization you need.
In the future, please use the newgroups for this type of question. The 
development mailing lists are the way design and implementation issues are 
discussed and decisions voted on by the committers.
Kevin




"bharath v hegde" <bharath_hegde@xxxxxxxxxxxxxx> 
Sent by: eclipse-dev-bounces@xxxxxxxxxxx
04/26/05 08:50 AM
Please respond to
bharath v hegde and "General development mailing list of the Eclipse 
project."


To
eclipse-dev@xxxxxxxxxxx
cc

Subject
[eclipse-dev] Should be able to apply different colors to different 
messages which are output to MessageConsoleStr






  Hi All,

I am using the statements like:

MessageConsoleStream oStream = console.newMessageStream();
oStream.setColor(new Color(Display.getCurrent(), 
                              lineRGB));
oStream.println(individualLine);

I want to provide different colors to different messages. But by  above 
approach, once the color of the stream is set, the same color is applied 
to all the remaining text.


Is there any way to apply different colors to the messages which are 
output?

regards,
Bharat 


_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev




Back to the top