From 890ba4c99ced44566124ad2d1f9b55b3be4556fe Mon Sep 17 00:00:00 2001 From: Chris Wiebe Date: Wed, 1 Sep 2004 15:42:27 +0000 Subject: [PATCH] 2004-09-01 Chris Wiebe replace deprecated SearchUI.SEARCH_RESULT_VIEW_ID w/ NewSearchUI.SEARCH_VIEW_ID * browser/org/eclipse/cdt/internal/ui/browser/cbrowsing/CBrowsingPerspectiveFactory.java --- core/org.eclipse.cdt.ui/browser/ChangeLog-browser | 5 +++++ .../browser/cbrowsing/CBrowsingPerspectiveFactory.java | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.ui/browser/ChangeLog-browser b/core/org.eclipse.cdt.ui/browser/ChangeLog-browser index 75e4904d377..8c9c7ed6824 100644 --- a/core/org.eclipse.cdt.ui/browser/ChangeLog-browser +++ b/core/org.eclipse.cdt.ui/browser/ChangeLog-browser @@ -1,3 +1,8 @@ +2004-09-01 Chris Wiebe + + replace deprecated SearchUI.SEARCH_RESULT_VIEW_ID w/ NewSearchUI.SEARCH_VIEW_ID + * browser/org/eclipse/cdt/internal/ui/browser/cbrowsing/CBrowsingPerspectiveFactory.java + 2004-08-31 Chris Wiebe Fix for 68883 diff --git a/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/cbrowsing/CBrowsingPerspectiveFactory.java b/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/cbrowsing/CBrowsingPerspectiveFactory.java index 05f532d6d7c..9098060c52f 100644 --- a/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/cbrowsing/CBrowsingPerspectiveFactory.java +++ b/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/cbrowsing/CBrowsingPerspectiveFactory.java @@ -14,7 +14,7 @@ import org.eclipse.cdt.core.model.ICElement; import org.eclipse.cdt.ui.CUIPlugin; import org.eclipse.cdt.ui.PreferenceConstants; import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.search.ui.SearchUI; +import org.eclipse.search.ui.NewSearchUI; import org.eclipse.ui.IFolderLayout; import org.eclipse.ui.IPageLayout; import org.eclipse.ui.IPerspectiveFactory; @@ -61,7 +61,7 @@ public class CBrowsingPerspectiveFactory implements IPerspectiveFactory { layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW); // views - searching - layout.addShowViewShortcut(SearchUI.SEARCH_RESULT_VIEW_ID); + layout.addShowViewShortcut(NewSearchUI.SEARCH_VIEW_ID); // views - standard workbench layout.addShowViewShortcut(IPageLayout.ID_OUTLINE); @@ -108,7 +108,7 @@ public class CBrowsingPerspectiveFactory implements IPerspectiveFactory { // layout.addShowViewShortcut(CUIPlugin.ID_JAVADOC_VIEW); // views - search - layout.addShowViewShortcut(SearchUI.SEARCH_RESULT_VIEW_ID); + layout.addShowViewShortcut(NewSearchUI.SEARCH_VIEW_ID); // views - debugging layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW); @@ -153,7 +153,7 @@ public class CBrowsingPerspectiveFactory implements IPerspectiveFactory { IPlaceholderFolderLayout placeHolderBottom= layout.createPlaceholderFolder("bottom", IPageLayout.BOTTOM, (float)0.75, IPageLayout.ID_EDITOR_AREA); //$NON-NLS-1$ placeHolderBottom.addPlaceholder(IPageLayout.ID_PROBLEM_VIEW); - placeHolderBottom.addPlaceholder(SearchUI.SEARCH_RESULT_VIEW_ID); + placeHolderBottom.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID); placeHolderBottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW); placeHolderBottom.addPlaceholder(IPageLayout.ID_BOOKMARKS); // placeHolderBottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW); @@ -185,7 +185,7 @@ public class CBrowsingPerspectiveFactory implements IPerspectiveFactory { IPlaceholderFolderLayout placeHolderBottom= layout.createPlaceholderFolder("bottom", IPageLayout.BOTTOM, (float)0.75, IPageLayout.ID_EDITOR_AREA); //$NON-NLS-1$ placeHolderBottom.addPlaceholder(IPageLayout.ID_PROBLEM_VIEW); - placeHolderBottom.addPlaceholder(SearchUI.SEARCH_RESULT_VIEW_ID); + placeHolderBottom.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID); placeHolderBottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW); placeHolderBottom.addPlaceholder(IPageLayout.ID_BOOKMARKS); // placeHolderBottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);