/******************************************************************************* * Copyright (c) 2004, 2009 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.launching.debug; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector; import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; /** * Ant source lookup director. For Ant source lookup there is one source lookup participant. */ public class AntSourceLookupDirector extends AbstractSourceLookupDirector { /* * (non-Javadoc) * * @see org.eclipse.debug.core.sourcelookup.ISourceLookupDirector#initializeParticipants() */ @Override public void initializeParticipants() { addParticipants(new ISourceLookupParticipant[] { new AntSourceLookupParticipant() }); } /* * (non-Javadoc) * * @see org.eclipse.debug.core.model.IPersistableSourceLocator#getMemento() */ @Override public String getMemento() throws CoreException { return null; } }