|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.eclipse.debug.ui.console.ConsoleColorProvider
Default console color provider for a processs. Colors output to standard out, in, and error, as specified by user preferences.
Clients implementing a console color provider should subclass this class.
| Constructor Summary | |
ConsoleColorProvider()
|
|
| Method Summary | |
void |
connect(IProcess process,
IConsole console)
Connects this color provider to the given process and console document. |
void |
disconnect()
Disconnects this color provider. |
Color |
getColor(String streamIdentifer)
Returns the color to draw output associated with the given stream. |
protected IConsole |
getConsole()
Returns the consonle this color provider is connected to, or null if none. |
protected IProcess |
getProcess()
Returns the process this color provider is providing color for, or null if none. |
boolean |
isReadOnly()
Returns whether the console associated with this color provider's process can currently accept keyboard input. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConsoleColorProvider()
| Method Detail |
public void connect(IProcess process,
IConsole console)
IConsoleColorProvider
connect in interface IConsoleColorProviderprocess - IConsoleColorProvider.connect(IProcess, IConsole)public void disconnect()
IConsoleColorProvider
disconnect in interface IConsoleColorProviderIConsoleColorProvider.disconnect()public boolean isReadOnly()
IConsoleColorProvider
isReadOnly in interface IConsoleColorProviderIConsoleColorProvider.isReadOnly()public Color getColor(String streamIdentifer)
IConsoleColorProvider
getColor in interface IConsoleColorProviderstreamIdentifer -
IConsoleColorProvider.getColor(String)protected IProcess getProcess()
null if none.
null if noneprotected IConsole getConsole()
null if none.
null if none
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||