Eclipse plug-in: add Launch command group to Custom Perspective

后端 未结 1 794
萌比男神i
萌比男神i 2021-01-18 15:32

I have looked for a lot of tutorials online and it is very difficult to find anything related to Launches.

I am implementing an IDE plug-in which implements a custom

相关标签:
1条回答
  • 2021-01-18 16:17

    You need to extend your perspective using org.eclipse.ui.perspectiveExtensions extension point. To add Run and Debug buttons add org.eclipse.debug.ui.launchActionSet actionSet like this:

       <extension
             point="org.eclipse.ui.perspectiveExtensions">
          <perspectiveExtension
                targetID="your.perspective.id">
             <actionSet
                   id="org.eclipse.debug.ui.launchActionSet">
             </actionSet>
          </perspectiveExtension>
       </extension>
    
    0 讨论(0)
提交回复
热议问题