public interface IConsole
IConsoleColorProvider should connect streams to a console
document when connected to.
Clients are not intended to implement this interface.
IConsoleColorProvider| Modifier and Type | Method and Description |
|---|---|
void |
addLink(IConsoleHyperlink link,
int offset,
int length)
Deprecated.
replaced with addLink(IHyperlink link, int offset, int length)
|
void |
addLink(IHyperlink link,
int offset,
int length)
Adds the given hyperlink to this console.
|
void |
addPatternMatchListener(IPatternMatchListener matchListener)
Adds the given pattern match listener to this console.
|
void |
connect(IStreamMonitor streamMonitor,
String streamIdentifer)
Connects this console to the given stream monitor, uniquely identified by
the given identifier.
|
void |
connect(IStreamsProxy streamsProxy)
Connects this console to the given streams proxy.
|
IDocument |
getDocument()
Returns the document associated with this console.
|
IProcess |
getProcess()
Returns the process associated with this console.
|
IRegion |
getRegion(IConsoleHyperlink link)
Deprecated.
replaced with getRegion(IHyperlink link) instead
|
IRegion |
getRegion(IHyperlink link)
Returns the region of text associated with the given hyperlink, or
null if the given hyperlink is not contained in this
console. |
IOConsoleOutputStream |
getStream(String streamIdentifier)
Returns the stream associated with the specified stream identifier.
|
void |
removePatternMatchListener(IPatternMatchListener matchListener)
Removes the given pattern match listener from this console.
|
void connect(IStreamsProxy streamsProxy)
streamsProxy - void connect(IStreamMonitor streamMonitor, String streamIdentifer)
streamMonitor - streamIdentifer - void addLink(IConsoleHyperlink link, int offset, int length)
If the link's region (offset/length) is within the console's document current bounds, it is added immediately. Otherwise, the link is added when the console's document grows to contain the link's region.
link - the hyperlink to addoffset - the character offset within the console document where the
text associated with the hyperlink beginslength - the length of the associated hyperlink textvoid addLink(IHyperlink link, int offset, int length)
If the link's region (offset/length) is within the console's document current bounds, it is added immediately. Otherwise, the link is added when the console's document grows to contain the link's region.
link - the hyperlink to addoffset - the character offset within the console document where the
text associated with the hyperlink beginslength - the length of the associated hyperlink textIRegion getRegion(IConsoleHyperlink link)
null if the given hyperlink is not contained in this
console.link - a console hyperlinknullIRegion getRegion(IHyperlink link)
null if the given hyperlink is not contained in this
console.link - a console hyperlinknullIDocument getDocument()
IProcess getProcess()
void addPatternMatchListener(IPatternMatchListener matchListener)
matchListener - the listener to addvoid removePatternMatchListener(IPatternMatchListener matchListener)
matchListener - the pattern match listener to remove.IOConsoleOutputStream getStream(String streamIdentifier)
streamIdentifier - Uniquely identifies the required streamnull if none found with matching streamIdentifierGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.