1313 *******************************************************************************/
1414package org .eclipse .debug .internal .ui ;
1515
16-
1716import org .eclipse .debug .ui .IDebugUIConstants ;
1817import org .eclipse .ui .IFolderLayout ;
1918import org .eclipse .ui .IPageLayout ;
@@ -32,27 +31,29 @@ public class DebugPerspectiveFactory implements IPerspectiveFactory {
3231 */
3332 @ Override
3433 public void createInitialLayout (IPageLayout layout ) {
35-
3634 String editorArea = layout .getEditorArea ();
3735
38- IFolderLayout navFolder = layout .createFolder (IInternalDebugUIConstants .ID_NAVIGATOR_FOLDER_VIEW , IPageLayout .LEFT , (float ) 0.25 , editorArea );
36+ IFolderLayout navFolder = layout .createFolder (IInternalDebugUIConstants .ID_NAVIGATOR_FOLDER_VIEW ,
37+ IPageLayout .LEFT , (float ) 0.25 , editorArea );
3938 navFolder .addView (IDebugUIConstants .ID_DEBUG_VIEW );
4039 navFolder .addPlaceholder (IPageLayout .ID_PROJECT_EXPLORER );
4140
42- IFolderLayout toolsFolder = layout .createFolder (IInternalDebugUIConstants .ID_TOOLS_FOLDER_VIEW , IPageLayout .BOTTOM , (float ) 0.75 , editorArea );
43- toolsFolder .addView (IConsoleConstants .ID_CONSOLE_VIEW );
44- toolsFolder .addView (IPageLayout .ID_PROBLEM_VIEW );
45- toolsFolder .addPlaceholder (IDebugUIConstants .ID_REGISTER_VIEW );
46- toolsFolder .addPlaceholder (IPageLayout .ID_BOOKMARKS );
47- toolsFolder .addPlaceholder (IProgressConstants .PROGRESS_VIEW_ID );
48-
49- IFolderLayout outlineFolder = layout .createFolder (IInternalDebugUIConstants .ID_OUTLINE_FOLDER_VIEW , IPageLayout .RIGHT , (float ) 0.65 , editorArea );
41+ IFolderLayout outlineFolder = layout .createFolder (IInternalDebugUIConstants .ID_OUTLINE_FOLDER_VIEW ,
42+ IPageLayout .RIGHT , (float ) 0.65 , editorArea );
5043 outlineFolder .addView (IDebugUIConstants .ID_VARIABLE_VIEW );
5144 outlineFolder .addView (IDebugUIConstants .ID_BREAKPOINT_VIEW );
5245 outlineFolder .addView (IDebugUIConstants .ID_EXPRESSION_VIEW );
5346 outlineFolder .addPlaceholder (IPageLayout .ID_OUTLINE );
5447 outlineFolder .addPlaceholder (IPageLayout .ID_PROP_SHEET );
5548
49+ IFolderLayout toolsFolder = layout .createFolder (IInternalDebugUIConstants .ID_TOOLS_FOLDER_VIEW ,
50+ IPageLayout .BOTTOM , (float ) 0.75 , editorArea );
51+ toolsFolder .addView (IConsoleConstants .ID_CONSOLE_VIEW );
52+ toolsFolder .addView (IPageLayout .ID_PROBLEM_VIEW );
53+ toolsFolder .addPlaceholder (IDebugUIConstants .ID_REGISTER_VIEW );
54+ toolsFolder .addPlaceholder (IPageLayout .ID_BOOKMARKS );
55+ toolsFolder .addPlaceholder (IProgressConstants .PROGRESS_VIEW_ID );
56+
5657 layout .addShowViewShortcut (IProgressConstants .PROGRESS_VIEW_ID );
5758 layout .addShowViewShortcut (TemplatesView .ID );
5859
0 commit comments