1 11 package org.eclipse.jdt.internal.ui.search; 12 13 import java.util.Collection ; 14 import java.util.List ; 15 16 import org.eclipse.jface.text.IDocument; 17 18 19 import org.eclipse.jdt.core.IJavaElement; 20 import org.eclipse.jdt.core.dom.CompilationUnit; 21 22 public interface IOccurrencesFinder { 23 24 public String initialize(CompilationUnit root, int offset, int length); 25 26 public List perform(); 27 28 public String getJobLabel(); 29 30 39 public String getUnformattedPluralLabel(); 40 41 49 public String getUnformattedSingularLabel(); 50 51 56 public String getElementName(); 57 58 public void collectOccurrenceMatches(IJavaElement element, IDocument document, Collection resultingMatches); 59 } 60 | Popular Tags |