Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.debug.ui.console
Interface IConsoleLineTracker  view IConsoleLineTracker download IConsoleLineTracker.java

All Known Subinterfaces:
IConsoleLineTrackerExtension

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:

Clients may implement this interface.

Since:
2.1

Method Summary
 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(org.eclipse.jface.text.IRegion line)
          Notification that a line of text has been appended to the console.
 

Method Detail

init

public void init(IConsole console)
Notification that a console document has been created for which this listener is registered.


lineAppended

public void lineAppended(org.eclipse.jface.text.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.


dispose

public void dispose()
Disposes this console line tracker.