1 11 package org.eclipse.search2.internal.ui.text2; 12 13 14 import org.eclipse.core.runtime.CoreException; 15 16 import org.eclipse.search.ui.ISearchQuery; 17 import org.eclipse.search.ui.text.TextSearchQueryProvider; 18 19 import org.eclipse.search2.internal.ui.SearchMessages; 20 21 22 25 public class FindInWorkspaceActionDelegate extends FindInRecentScopeActionDelegate { 26 27 public FindInWorkspaceActionDelegate() { 28 super(SearchMessages.FindInWorkspaceActionDelegate_text); 29 setActionDefinitionId("org.eclipse.search.ui.performTextSearchWorkspace"); } 31 32 protected ISearchQuery createQuery(TextSearchQueryProvider provider, String searchForString) throws CoreException { 33 return provider.createQuery(searchForString); 34 } 35 } 36 | Popular Tags |