diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java index 76d8b3a0aa4..c5b9431a2d2 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. + * Copyright (c) 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,11 +8,13 @@ * Contributors: * IBM Corporation - initial API and implementation * QNX Software System + * Ken Ryall (Nokia) - Bug 179340 add breakpoint actions to C++ perspective *******************************************************************************/ package org.eclipse.cdt.internal.ui; import org.eclipse.cdt.internal.ui.wizards.CWizardRegistry; import org.eclipse.cdt.ui.CUIPlugin; + import org.eclipse.search.ui.NewSearchUI; import org.eclipse.ui.IFolderLayout; import org.eclipse.ui.IPageLayout; @@ -68,7 +70,10 @@ public class CPerspectiveFactory implements IPerspectiveFactory { // link - things we should do layout.addShowInPart(CUIPlugin.CVIEW_ID); layout.addShowInPart(IPageLayout.ID_RES_NAV); - + + // Add in the breakpoint action set, these are commonly used even if not debugging yet. + layout.addActionSet("org.eclipse.debug.ui.breakpointActionSet"); //$NON-NLS-1$ + addCWizardShortcuts(layout); }