1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 04:35:45 +02:00

Thomasf patch to do showInContext()

This commit is contained in:
Alain Magloire 2003-10-20 19:59:16 +00:00
parent e0e5d2c7bf
commit de85b5fbaa

View file

@ -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);