1 11 12 package org.eclipse.search.core.text; 13 14 import org.eclipse.core.runtime.CoreException; 15 16 import org.eclipse.core.resources.IFile; 17 18 43 public abstract class TextSearchRequestor { 44 45 54 public void beginReporting() { 55 } 57 58 67 public void endReporting() { 68 } 70 71 83 public boolean acceptFile(IFile file) throws CoreException { 84 return true; 85 } 86 87 103 public boolean reportBinaryFile(IFile file) { 104 return false; 105 } 106 107 116 public boolean acceptPatternMatch(TextSearchMatchAccess matchAccess) throws CoreException { 117 return true; 118 } 119 120 } 121 | Popular Tags |