1 11 package org.eclipse.jdt.core.search; 12 13 import org.eclipse.core.resources.IResource; 14 import org.eclipse.core.runtime.CoreException; 15 import org.eclipse.core.runtime.IProgressMonitor; 16 17 import org.eclipse.jdt.core.IJavaElement; 18 19 45 public interface IJavaSearchResultCollector { 46 51 int EXACT_MATCH = 0; 52 53 60 int POTENTIAL_MATCH = 1; 61 62 67 public void aboutToStart(); 68 84 public void accept( 85 IResource resource, 86 int start, 87 int end, 88 IJavaElement enclosingElement, 89 int accuracy) 90 throws CoreException; 91 96 public void done(); 97 102 public IProgressMonitor getProgressMonitor(); 103 } 104 | Popular Tags |