Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.ant.internal.ui.console;
 
Processes task hyperlinks as lines are appended to the console
public class TaskLineTracker implements IConsoleLineTrackerExtension {
	private IConsole fConsole;

Constructor for TaskLineTracker.
	public TaskLineTracker() {
		super();
	}

	public void init(IConsole console) {
		 = console;
	}

	public void lineAppended(IRegion line) {
		TaskLinkManager.processNewLine(line);
	}

	public void dispose() {
		 = null;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.debug.ui.console.IConsoleLineTrackerExtension#consoleClosed()
	 */
	public void consoleClosed() {
		TaskLinkManager.dispose(.getProcess());
		AbstractJavacPatternMatcher.consoleClosed(.getProcess());
	}
New to GrepCode? Check out our FAQ X