mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +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:
|
* Contributors:
|
||||||
* IBM Corporation - initial API and implementation
|
* IBM Corporation - initial API and implementation
|
||||||
* QNX Software System
|
* QNX Software System
|
||||||
* Ken Ryall (Nokia) - Bug 179340 add breakpoint actions to C++ perspective
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.ui;
|
package org.eclipse.cdt.internal.ui;
|
||||||
|
|
||||||
import org.eclipse.cdt.internal.ui.wizards.CWizardRegistry;
|
import org.eclipse.cdt.internal.ui.wizards.CWizardRegistry;
|
||||||
import org.eclipse.cdt.ui.CUIPlugin;
|
import org.eclipse.cdt.ui.CUIPlugin;
|
||||||
|
|
||||||
import org.eclipse.search.ui.NewSearchUI;
|
import org.eclipse.search.ui.NewSearchUI;
|
||||||
import org.eclipse.ui.IFolderLayout;
|
import org.eclipse.ui.IFolderLayout;
|
||||||
import org.eclipse.ui.IPageLayout;
|
import org.eclipse.ui.IPageLayout;
|
||||||
|
@ -70,10 +68,7 @@ public class CPerspectiveFactory implements IPerspectiveFactory {
|
||||||
// link - things we should do
|
// link - things we should do
|
||||||
layout.addShowInPart(CUIPlugin.CVIEW_ID);
|
layout.addShowInPart(CUIPlugin.CVIEW_ID);
|
||||||
layout.addShowInPart(IPageLayout.ID_RES_NAV);
|
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);
|
addCWizardShortcuts(layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,12 @@
|
||||||
</extension>
|
</extension>
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.ui.perspectiveExtensions">
|
point="org.eclipse.ui.perspectiveExtensions">
|
||||||
|
<perspectiveExtension
|
||||||
|
targetID="org.eclipse.cdt.ui.CPerspective">
|
||||||
|
<actionSet
|
||||||
|
id="org.eclipse.debug.ui.breakpointActionSet">
|
||||||
|
</actionSet>
|
||||||
|
</perspectiveExtension>
|
||||||
<perspectiveExtension
|
<perspectiveExtension
|
||||||
targetID="org.eclipse.debug.ui.DebugPerspective">
|
targetID="org.eclipse.debug.ui.DebugPerspective">
|
||||||
<view
|
<view
|
||||||
|
|
Loading…
Add table
Reference in a new issue