| /******************************************************************************* |
| * Copyright (c) 2004, 2009 IBM Corporation and others. |
| * |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * 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 { |
| |
| @Override |
| public void initializeParticipants() { |
| addParticipants(new ISourceLookupParticipant[] { new AntSourceLookupParticipant() }); |
| } |
| |
| @Override |
| public String getMemento() throws CoreException { |
| return null; |
| } |
| } |