Search in sources :

Example 1 with LogSearchQuery

use of org.eclipse.titan.log.viewer.search.LogSearchQuery in project titan.EclipsePlug-ins by eclipse.

the class LogSearchPage method performAction.

@Override
public boolean performAction() {
    List<IFile> files = collectFilesForSearch();
    LogSearchQuery query = new LogSearchQuery(files, getPattern());
    for (ISearchQuery runningQuery : NewSearchUI.getQueries()) {
        NewSearchUI.cancelQuery(runningQuery);
    }
    NewSearchUI.runQueryInBackground(query);
    return true;
}
Also used : IFile(org.eclipse.core.resources.IFile) LogSearchQuery(org.eclipse.titan.log.viewer.search.LogSearchQuery) ISearchQuery(org.eclipse.search.ui.ISearchQuery)

Aggregations

IFile (org.eclipse.core.resources.IFile)1 ISearchQuery (org.eclipse.search.ui.ISearchQuery)1 LogSearchQuery (org.eclipse.titan.log.viewer.search.LogSearchQuery)1