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:
parent
e0e5d2c7bf
commit
de85b5fbaa
1 changed files with 6 additions and 2 deletions
|
@ -27,9 +27,9 @@ 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);
|
||||
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue