mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Added the common navigator (ProjectExplorer) to the default C/C++ perspective. This has a magic string "org.eclipse.ui.navigator.ProjectExplorer" that i could not find anywhere as a constant (except all over the plugin.xml files )
This commit is contained in:
parent
b259cae666
commit
40430a40f7
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ public class CPerspectiveFactory implements IPerspectiveFactory {
|
||||||
IFolderLayout folder1= layout.createFolder("topLeft", IPageLayout.LEFT, (float)0.25, editorArea); //$NON-NLS-1$
|
IFolderLayout folder1= layout.createFolder("topLeft", IPageLayout.LEFT, (float)0.25, editorArea); //$NON-NLS-1$
|
||||||
folder1.addView(CUIPlugin.CVIEW_ID);
|
folder1.addView(CUIPlugin.CVIEW_ID);
|
||||||
folder1.addView(IPageLayout.ID_RES_NAV);
|
folder1.addView(IPageLayout.ID_RES_NAV);
|
||||||
|
folder1.addView("org.eclipse.ui.navigator.ProjectExplorer");
|
||||||
folder1.addPlaceholder(IPageLayout.ID_BOOKMARKS);
|
folder1.addPlaceholder(IPageLayout.ID_BOOKMARKS);
|
||||||
|
|
||||||
IFolderLayout folder2= layout.createFolder("bottom", IPageLayout.BOTTOM, (float)0.75, editorArea); //$NON-NLS-1$
|
IFolderLayout folder2= layout.createFolder("bottom", IPageLayout.BOTTOM, (float)0.75, editorArea); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue