mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
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
This commit is contained in:
parent
cd51bbd5f7
commit
890ba4c99c
2 changed files with 10 additions and 5 deletions
|
@ -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
|
2004-08-31 Chris Wiebe
|
||||||
|
|
||||||
Fix for 68883
|
Fix for 68883
|
||||||
|
|
|
@ -14,7 +14,7 @@ import org.eclipse.cdt.core.model.ICElement;
|
||||||
import org.eclipse.cdt.ui.CUIPlugin;
|
import org.eclipse.cdt.ui.CUIPlugin;
|
||||||
import org.eclipse.cdt.ui.PreferenceConstants;
|
import org.eclipse.cdt.ui.PreferenceConstants;
|
||||||
import org.eclipse.core.runtime.IAdaptable;
|
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.IFolderLayout;
|
||||||
import org.eclipse.ui.IPageLayout;
|
import org.eclipse.ui.IPageLayout;
|
||||||
import org.eclipse.ui.IPerspectiveFactory;
|
import org.eclipse.ui.IPerspectiveFactory;
|
||||||
|
@ -61,7 +61,7 @@ public class CBrowsingPerspectiveFactory implements IPerspectiveFactory {
|
||||||
layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW);
|
layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW);
|
||||||
|
|
||||||
// views - searching
|
// views - searching
|
||||||
layout.addShowViewShortcut(SearchUI.SEARCH_RESULT_VIEW_ID);
|
layout.addShowViewShortcut(NewSearchUI.SEARCH_VIEW_ID);
|
||||||
|
|
||||||
// views - standard workbench
|
// views - standard workbench
|
||||||
layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
|
layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
|
||||||
|
@ -108,7 +108,7 @@ public class CBrowsingPerspectiveFactory implements IPerspectiveFactory {
|
||||||
// layout.addShowViewShortcut(CUIPlugin.ID_JAVADOC_VIEW);
|
// layout.addShowViewShortcut(CUIPlugin.ID_JAVADOC_VIEW);
|
||||||
|
|
||||||
// views - search
|
// views - search
|
||||||
layout.addShowViewShortcut(SearchUI.SEARCH_RESULT_VIEW_ID);
|
layout.addShowViewShortcut(NewSearchUI.SEARCH_VIEW_ID);
|
||||||
|
|
||||||
// views - debugging
|
// views - debugging
|
||||||
layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW);
|
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$
|
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(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(IConsoleConstants.ID_CONSOLE_VIEW);
|
||||||
placeHolderBottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
|
placeHolderBottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
|
||||||
// placeHolderBottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
|
// 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$
|
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(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(IConsoleConstants.ID_CONSOLE_VIEW);
|
||||||
placeHolderBottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
|
placeHolderBottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
|
||||||
// placeHolderBottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
|
// placeHolderBottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
|
||||||
|
|
Loading…
Add table
Reference in a new issue