/******************************************************************************* * Copyright (c) 2007, 2008 Edgar Espina. * 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 * *******************************************************************************/ package org.deved.antlride.internal.core.search; import org.eclipse.dltk.core.search.AbstractSearchFactory; import org.eclipse.dltk.core.search.DLTKSearchParticipant; import org.eclipse.dltk.core.search.IMatchLocatorParser; import org.eclipse.dltk.core.search.indexing.SourceIndexerRequestor; import org.eclipse.dltk.core.search.matching.MatchLocator; public class AntlrSearchFactory extends AbstractSearchFactory { @Override public SourceIndexerRequestor createSourceRequestor() { return new SourceIndexerRequestor(); } @Override public DLTKSearchParticipant createSearchParticipant() { return new DLTKSearchParticipant(); } public IMatchLocatorParser createMatchParser(MatchLocator locator) { return new AntlrMatchLocatorParser(locator); } }