]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Search Service
authorluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 23 Oct 2013 11:52:08 +0000 (11:52 +0000)
committerluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 23 Oct 2013 11:52:08 +0000 (11:52 +0000)
fixes #4493

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28107 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/FindSearchTrim.java

index 9aa886cfa27817cfdfc0158c2a571d921c1e5340..502410cab5eaa50b2438e70200e511722d5acf34 100644 (file)
@@ -4,6 +4,7 @@ import org.eclipse.jface.layout.GridDataFactory;
 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
@@ -41,7 +42,7 @@ public class FindSearchTrim extends SearchTrim {
         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