|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.console.MessageConsoleStream
Used to write messages to a message console. A message console may have more than one stream connected to it. Each stream may be displayed in a different color.
Constructor Summary | |
MessageConsoleStream(MessageConsole console)
Constructs a new stream connected to the given console. |
Method Summary | |
Color |
getColor()
Returns the color of this message stream, or null
if default. |
MessageConsole |
getConsole()
Returns the console this stream is connected to. |
void |
print(String message)
Appends the specified message to this stream. |
void |
println()
Appends a line separator string to this stream. |
void |
println(String message)
Appends the specified message to this stream, followed by a line separator string. |
void |
setColor(Color color)
Sets the color of this message stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessageConsoleStream(MessageConsole console)
console
- the console to write messages toMethod Detail |
public void print(String message)
message
- message to appendpublic void println()
public void println(String message)
message
- message to printpublic void setColor(Color color)
color
- color of this message stream, possibly null
public Color getColor()
null
if default.
null
public MessageConsole getConsole()
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.