Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java
index 028ecc353..675f9e34f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -21,39 +21,39 @@ import org.eclipse.ui.console.IConsoleConstants;
* The debug perspective factory.
*/
public class DebugPerspectiveFactory implements IPerspectiveFactory {
-
+
/**
* @see IPerspectiveFactory#createInitialLayout(IPageLayout)
*/
@Override
public void createInitialLayout(IPageLayout layout) {
-
+
IFolderLayout consoleFolder = layout.createFolder(IInternalDebugUIConstants.ID_CONSOLE_FOLDER_VIEW, IPageLayout.BOTTOM, (float)0.75, layout.getEditorArea());
consoleFolder.addView(IConsoleConstants.ID_CONSOLE_VIEW);
consoleFolder.addView(IPageLayout.ID_TASK_LIST);
consoleFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
consoleFolder.addPlaceholder(IPageLayout.ID_PROP_SHEET);
-
+
IFolderLayout navFolder= layout.createFolder(IInternalDebugUIConstants.ID_NAVIGATOR_FOLDER_VIEW, IPageLayout.TOP, (float) 0.45, layout.getEditorArea());
navFolder.addView(IDebugUIConstants.ID_DEBUG_VIEW);
navFolder.addPlaceholder(IPageLayout.ID_PROJECT_EXPLORER);
-
+
IFolderLayout toolsFolder= layout.createFolder(IInternalDebugUIConstants.ID_TOOLS_FOLDER_VIEW, IPageLayout.RIGHT, (float) 0.50, IInternalDebugUIConstants.ID_NAVIGATOR_FOLDER_VIEW);
toolsFolder.addView(IDebugUIConstants.ID_VARIABLE_VIEW);
toolsFolder.addView(IDebugUIConstants.ID_BREAKPOINT_VIEW);
toolsFolder.addPlaceholder(IDebugUIConstants.ID_EXPRESSION_VIEW);
toolsFolder.addPlaceholder(IDebugUIConstants.ID_REGISTER_VIEW);
-
+
IFolderLayout outlineFolder= layout.createFolder(IInternalDebugUIConstants.ID_OUTLINE_FOLDER_VIEW, IPageLayout.RIGHT, (float) 0.75, layout.getEditorArea());
outlineFolder.addView(IPageLayout.ID_OUTLINE);
-
+
layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
layout.addActionSet(IDebugUIConstants.DEBUG_ACTION_SET);
-
+
setContentsOfShowViewMenu(layout);
}
-
- /**
+
+ /**
* Sets the initial contents of the "Show View" menu.
*/
protected void setContentsOfShowViewMenu(IPageLayout layout) {

Back to the top