mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 00:36:16 +02:00
Reworked previous change for 179340.
This commit is contained in:
parent
04f8a1f32f
commit
bc25cdb9a5
2 changed files with 7 additions and 6 deletions
|
@ -8,13 +8,11 @@
|
|||
* 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;
|
||||
|
@ -70,10 +68,7 @@ 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);
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,12 @@
|
|||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.perspectiveExtensions">
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.cdt.ui.CPerspective">
|
||||
<actionSet
|
||||
id="org.eclipse.debug.ui.breakpointActionSet">
|
||||
</actionSet>
|
||||
</perspectiveExtension>
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.debug.ui.DebugPerspective">
|
||||
<view
|
||||
|
|
Loading…
Add table
Reference in a new issue