- All Known Subinterfaces:
public interface IConsoleLineTracker
Notified of lines appended to the console. A line tracker is defined in
plugin.xml. A line tracker is associated with a type of process. Following is an example definition of a console line tracker extension.
<extension point="org.eclipse.debug.ui.consoleLineTrackers"> <consoleLineTracker id="com.example.ExampleConsoleLineTracker" class="com.example.ExampleConsoleLineTrackerClass" processType="ExampleProcessType"> </consoleLineTracker> </extension>The attributes are specified as follows:
idspecifies a unique identifier for this line tracker.
classspecifies a fully qualified name of a Java class that implements
processTypespecifies the identifier of the process type this line tracker is associated with (which corresponds to the
ATTR_PROCESS_TYPEattribute on a process).
Clients may implement this interface.
Method SummaryModifier and TypeMethodDescription
dispose()Disposes this console line tracker.
voidNotification that a console document has been created for which this listener is registered.
voidNotification that a line of text has been appended to the console.
(IConsole console)Notification that a console document has been created for which this listener is registered.
console- console that has been created
(IRegion line)Notification that a line of text has been appended to the console. The given region describes the offset and length of the line appended to the console, excluding the line delimiter.
line- region describing the offset and length of line appended to the console, excluding the line delimiter
disposevoid dispose()Disposes this console line tracker.