1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Bug 179340 - enable breakpoint actions.

This commit is contained in:
Ken Ryall 2007-05-05 15:19:17 +00:00
parent 8de69589f3
commit e553056f27

View file

@ -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);
}