org.eclipse.cdt.internal.ui.buildconsole
Class BuildConsoleStream

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.buildconsole.BuildConsoleStream

public class BuildConsoleStream
extends java.lang.Object


Constructor Summary
BuildConsoleStream()
          Constructs a new stream connected to the given console.
 
Method Summary
 org.eclipse.swt.graphics.Color getColor()
          Returns the color of this message stream, or null if default.
 BuildConsole getConsole()
          Returns the console this stream is connected to.
 void setColor(org.eclipse.swt.graphics.Color color)
          Sets the color of this message stream
 void setConsole(BuildConsole console)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildConsoleStream

public BuildConsoleStream()
Constructs a new stream connected to the given console.

Method Detail

setConsole

public void setConsole(BuildConsole console)

setColor

public void setColor(org.eclipse.swt.graphics.Color color)
Sets the color of this message stream

Parameters:
color - color of this message stream, possibly null

getColor

public org.eclipse.swt.graphics.Color getColor()
Returns the color of this message stream, or null if default.

Returns:
the color of this message stream, or null

getConsole

public BuildConsole getConsole()
Returns the console this stream is connected to.

Returns:
the console this stream is connected to