From de85b5fbaa4e7f028f8da781a1319f2c09f8eb95 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Mon, 20 Oct 2003 19:59:16 +0000 Subject: [PATCH] Thomasf patch to do showInContext() --- .../org/eclipse/cdt/internal/ui/CPerspectiveFactory.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java index 049a6072952..af1b061d565 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java @@ -27,10 +27,10 @@ public class CPerspectiveFactory implements IPerspectiveFactory { String editorArea = layout.getEditorArea(); IFolderLayout folder1= layout.createFolder("topLeft", IPageLayout.LEFT, (float)0.25, editorArea); - folder1.addView(CUIPlugin.CVIEW_ID); folder1.addView(IPageLayout.ID_RES_NAV); folder1.addPlaceholder(IPageLayout.ID_BOOKMARKS); - + folder1.addView(CUIPlugin.CVIEW_ID); + IFolderLayout folder2= layout.createFolder("bottom", IPageLayout.BOTTOM, (float)0.75, editorArea); folder2.addView(IPageLayout.ID_TASK_LIST); folder2.addView(CUIPlugin.CONSOLE_ID); @@ -55,6 +55,10 @@ public class CPerspectiveFactory implements IPerspectiveFactory { layout.addShowViewShortcut(IPageLayout.ID_RES_NAV); layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET); + // link - things we should do + layout.addShowInPart(CUIPlugin.CVIEW_ID); + layout.addShowInPart(IPageLayout.ID_RES_NAV); + // new actions - C project creation wizard layout.addNewWizardShortcut(CUIPlugin.CLASS_WIZARD_ID); layout.addNewWizardShortcut(CUIPlugin.FILE_WIZARD_ID);