I have a custom perspective which has a unique view. I would like to add debug items when i switch to my perspective. I assume i should add those into my plugin.xml with this extension point ="org.eclipse.ui.menus" but i dont know how to specify to these buttons.
To add existing items to a perspective use the org.eclipse.ui.perspectiveExtensions
extension point.
You probably want the actionSet
element of this extension point. You will have to do some research to work out what the existing action set id is.
You may need to Reset the perspective to get your changes to show.
Look in the org.eclipse.debug.ui
plugin for its action set ids. One of these is org.eclipse.debug.ui.debugActionSet
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="your perspective id">
<actionSet id="org.eclipse.debug.ui.debugActionSet"/>
</perspectiveExtension>
</extension>