import org.eclipse.swt.SWT;\r
import org.eclipse.swt.widgets.Composite;\r
import org.simantics.workbench.internal.contributions.search.SearchTrim;\r
+import org.simantics.workbench.search.ISearchService;\r
import org.simantics.workbench.search.SearchQuery;\r
\r
public class FindSearchTrim extends SearchTrim {\r
searchQuery.setSearchFlag("Types", "on");\r
if (scope == Scope.CURRENT_DIAGRAM)\r
searchQuery.setSearchParam(CURRENT_DIAGRAM_OPTION);\r
- performQuery(searchQuery, ResultBrowser.VIEW);\r
+ performQuery(searchQuery, ISearchService.ResultBrowser.VIEW);\r
\r
} \r
\r