blob: 912162a8d90419c491aa60a5dd2b6300e0eddac0 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2005 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.jdt.internal.ui.search;
import java.util.Collection;
import java.util.List;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.dom.CompilationUnit;
public interface IOccurrencesFinder {
public String initialize(CompilationUnit root, int offset, int length);
public List perform();
public String getJobLabel();
public String getPluralLabel(String documentName);
public String getSingularLabel(String documentName);
public void collectOccurrenceMatches(IJavaElement element, IDocument document, Collection resultingMatches);
}