Massive refactoring of the methodology in former class UiUtils
authorn.hoffmann <n.hoffmann@localhost>
Tue, 20 Jan 2009 19:06:50 +0000 (19:06 +0000)
committern.hoffmann <n.hoffmann@localhost>
Tue, 20 Jan 2009 19:06:50 +0000 (19:06 +0000)
eclipseprojects/eu.etaxonomy.taxeditor/src/eu/etaxonomy/taxeditor/controller/SearchController.java

index 0a61131b4bba5b9033364fbceabb0400e2626a46..b040940552b34409c8080d77368a363fb42ef30b 100644 (file)
@@ -14,7 +14,6 @@ import org.eclipse.ui.IViewPart;
 import org.eclipse.ui.IWorkbenchPage;\r
 import org.eclipse.ui.PartInitException;\r
 \r
 import org.eclipse.ui.IWorkbenchPage;\r
 import org.eclipse.ui.PartInitException;\r
 \r
-import eu.etaxonomy.taxeditor.UiUtil;\r
 import eu.etaxonomy.taxeditor.navigation.SearchResult;\r
 import eu.etaxonomy.taxeditor.navigation.SearchResultView;\r
 \r
 import eu.etaxonomy.taxeditor.navigation.SearchResult;\r
 import eu.etaxonomy.taxeditor.navigation.SearchResultView;\r
 \r
@@ -32,7 +31,7 @@ public class SearchController {
                srv += "1";\r
                logger.warn("opening search results window " + srv);\r
                try {\r
                srv += "1";\r
                logger.warn("opening search results window " + srv);\r
                try {\r
-                       IViewPart resultsView = UiUtil.getActivePage().showView(SearchResultView.ID, \r
+                       IViewPart resultsView = GlobalController.getActivePage().showView(SearchResultView.ID, \r
                                        srv, IWorkbenchPage.VIEW_VISIBLE);\r
                        ((SearchResultView) resultsView).setResult(searchResult);\r
                } catch (PartInitException e) {\r
                                        srv, IWorkbenchPage.VIEW_VISIBLE);\r
                        ((SearchResultView) resultsView).setResult(searchResult);\r
                } catch (PartInitException e) {\r