public JspUIPlugin() { super(); fgDefault = this; fSearchEngine = SearchEngine.getSearchEngine(); }
void jspRemoved(IFile jspFile) { if (DEBUG) System.out.println("Removed: " + jspFile); // $NON-NLS-1$ fSearchEngine.remove(jspFile.getFullPath().toString(), jspFile.getProject().getFullPath()); }
public void search( IIndexQuery query, ISearchResultCollector resultCollector, IProgressMonitor pm) { fSearchEngine.search(query, resultCollector, pm, SearchEngine.WAIT_UNTIL_READY_TO_SEARCH); }
void jspAdded(IFile jspFile) { if (DEBUG) System.out.println("Added: " + jspFile); // $NON-NLS-1$ JspIndexParser indexer = new JspIndexParser(jspFile); fSearchEngine.add(jspFile.getProject().getFullPath(), indexer); }