plugin.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?eclipse version="3.4"?>
  3. <plugin>
  4. <extension
  5. point="org.eclipse.ui.commands">
  6. <category
  7. id="StarPU.commands.category"
  8. name="StarPU Category">
  9. </category>
  10. <command
  11. categoryId="StarPU.commands.category"
  12. name="StarPU FxT tool"
  13. id="StarPU.commands.traceGenCommand">
  14. </command>
  15. <command
  16. categoryId="StarPU.commands.category"
  17. id="StarPU.commands.traceVizCommand"
  18. name="Visualize Paje trace">
  19. </command>
  20. <command
  21. categoryId="StarPU.commands.category"
  22. id="StarPU.commands.taskGraphCommand"
  23. name="Run Task graph">
  24. </command>
  25. <command
  26. categoryId="StarPU.commands.category"
  27. id="StarPU.commands.svgCommand"
  28. name="Generate SVG graph">
  29. </command>
  30. </extension>
  31. <extension
  32. point="org.eclipse.ui.handlers">
  33. <handler
  34. class="starpu.handlers.TraceGenHandler"
  35. commandId="StarPU.commands.traceGenCommand">
  36. </handler>
  37. <handler
  38. class="starpu.handlers.TraceVizHandler"
  39. commandId="StarPU.commands.traceVizCommand">
  40. </handler>
  41. <handler
  42. class="starpu.handlers.TaskGraphHandler"
  43. commandId="StarPU.commands.taskGraphCommand">
  44. </handler>
  45. <handler
  46. class="starpu.handlers.SvgHandler"
  47. commandId="StarPU.commands.svgCommand">
  48. </handler>
  49. </extension>
  50. <extension
  51. point="org.eclipse.ui.bindings">
  52. <key
  53. commandId="StarPU.commands.traceGenCommand"
  54. schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
  55. contextId="org.eclipse.ui.contexts.window"
  56. sequence="M1+6">
  57. </key>
  58. <key
  59. commandId="StarPU.commands.traceVizCommand"
  60. contextId="org.eclipse.ui.contexts.window"
  61. schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
  62. sequence="M1+7">
  63. </key>
  64. <key
  65. commandId="StarPU.commands.taskGraphCommand"
  66. contextId="org.eclipse.ui.contexts.window"
  67. schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
  68. sequence="M1+8">
  69. </key>
  70. <key
  71. commandId="StarPU.commands.svgCommand"
  72. contextId="org.eclipse.ui.contexts.window"
  73. schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
  74. sequence="M1+9">
  75. </key>
  76. </extension>
  77. <extension
  78. point="org.eclipse.ui.menus">
  79. <menuContribution
  80. locationURI="menu:org.eclipse.ui.main.menu?after=additions">
  81. <menu
  82. id="StarPU.menus.sampleMenu"
  83. label="StarPU"
  84. mnemonic="M">
  85. <command
  86. commandId="StarPU.commands.traceGenCommand"
  87. id="StarPU.menus.traceGenCommand"
  88. mnemonic="S">
  89. </command>
  90. <command
  91. commandId="StarPU.commands.traceVizCommand"
  92. id="StarPU.menus.traceVizCommand"
  93. mnemonic="S"
  94. style="push">
  95. </command>
  96. <command
  97. commandId="StarPU.commands.taskGraphCommand"
  98. id="StarPU.commands.taskGraphCommand"
  99. style="push">
  100. </command>
  101. <command
  102. commandId="StarPU.commands.svgCommand"
  103. id="StarPU.commands.svgCommand"
  104. style="push">
  105. </command>
  106. </menu>
  107. </menuContribution>
  108. <menuContribution
  109. locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
  110. <toolbar
  111. id="StarPU.toolbars.sampleToolbar">
  112. <command
  113. id="StarPU.toolbars.traceGenCommand"
  114. commandId="StarPU.commands.traceGenCommand"
  115. icon="icons/fxt.png"
  116. tooltip="StarPU FxT tool">
  117. </command>
  118. </toolbar>
  119. </menuContribution>
  120. <menuContribution
  121. locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
  122. <toolbar
  123. id="StarPU.toolbars.sampleToolbar">
  124. <command
  125. commandId="StarPU.commands.traceVizCommand"
  126. icon="icons/vite.png"
  127. id="StarPU.toolbars.traceVizCommand"
  128. tooltip="Vizualise Paje trace">
  129. </command>
  130. </toolbar>
  131. </menuContribution>
  132. <menuContribution
  133. locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
  134. <toolbar
  135. id="StarPU.toolbars.sampleToolbar">
  136. <command
  137. commandId="StarPU.commands.taskGraphCommand"
  138. icon="icons/taskGraph.png"
  139. id="StarPU.toolbars.taskGraphCommand"
  140. tooltip="Run Task graph">
  141. </command>
  142. </toolbar>
  143. </menuContribution>
  144. <menuContribution
  145. locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
  146. <toolbar
  147. id="StarPU.toolbars.sampleToolbar">
  148. <command
  149. commandId="StarPU.commands.svgCommand"
  150. icon="icons/svg.png"
  151. id="StarPU.toolbars.svgCommand"
  152. tooltip="Generate SVG graph">
  153. </command>
  154. </toolbar>
  155. </menuContribution>
  156. </extension>
  157. </plugin>