From f48b1d1d35a57cf2cc342578d4d6efb145df8e18 Mon Sep 17 00:00:00 2001 From: luukkainen Date: Wed, 23 Oct 2013 11:52:08 +0000 Subject: [PATCH] Search Service fixes #4493 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28107 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/ui/handlers/FindSearchTrim.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/FindSearchTrim.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/FindSearchTrim.java index 9aa886cf..502410ca 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/FindSearchTrim.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/FindSearchTrim.java @@ -4,6 +4,7 @@ import org.eclipse.jface.layout.GridDataFactory; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.simantics.workbench.internal.contributions.search.SearchTrim; +import org.simantics.workbench.search.ISearchService; import org.simantics.workbench.search.SearchQuery; public class FindSearchTrim extends SearchTrim { @@ -41,7 +42,7 @@ public class FindSearchTrim extends SearchTrim { searchQuery.setSearchFlag("Types", "on"); if (scope == Scope.CURRENT_DIAGRAM) searchQuery.setSearchParam(CURRENT_DIAGRAM_OPTION); - performQuery(searchQuery, ResultBrowser.VIEW); + performQuery(searchQuery, ISearchService.ResultBrowser.VIEW); } -- 2.47.1