public interface IConsoleLineTracker
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:
id
specifies a unique identifier for this line tracker.class
specifies a fully qualified name of a Java class
that implements IConsoleLineTracker
.processType
specifies the identifier of the process type
this line tracker is associated with (which corresponds to the
ATTR_PROCESS_TYPE
attribute on a process).Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes this console line tracker.
|
void |
init(IConsole console)
Notification that a console document has been created for which this
listener is registered.
|
void |
lineAppended(IRegion line)
Notification that a line of text has been appended to the console.
|
void init(IConsole console)
console
- console that has been createdvoid lineAppended(IRegion line)
line
- region describing the offset and length of line appended to
the console, excluding the line delimitervoid dispose()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.