plugin.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?eclipse version="3.4"?>
  3. <plugin>
  4. <!-- Launch configuration images -->
  5. <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
  6. <launchConfigurationTypeImage
  7. icon="icons/Statechart-Launcher-16.png"
  8. configTypeID="org.yakindu.sct.simulation.core.launch.statechart"
  9. id="org.yakindu.sct.core.simulation.launch.statechartTypeImage">
  10. </launchConfigurationTypeImage>
  11. </extension>
  12. <!-- launch tab group -->
  13. <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
  14. <launchConfigurationTabGroup
  15. type="org.yakindu.sct.simulation.core.launch.statechart"
  16. class="org.yakindu.sct.simulation.ui.sexec.launch.tabs.StatechartLaunchConfigurationTabGroup"
  17. id="org.yakindu.sct.simulation.ui.launch.tabs.statechart.tabs">
  18. <launchMode
  19. mode="run"
  20. perspective="org.yakindu.sct.ui.SimulationPerspective">
  21. </launchMode>
  22. <launchMode
  23. mode="debug"
  24. perspective="org.yakindu.sct.ui.SimulationPerspective">
  25. </launchMode>
  26. </launchConfigurationTabGroup>
  27. </extension>
  28. <!-- launch shortcuts -->
  29. <extension point="org.eclipse.debug.ui.launchShortcuts">
  30. <shortcut
  31. id="org.yakindu.sct.core.simulation.launch.shortcut"
  32. class="org.yakindu.sct.simulation.ui.sexec.launch.StatechartLaunchShortcut"
  33. label="Statechart Simulation"
  34. icon="icons/Statechart-Launcher-16.png"
  35. modes="run">
  36. <contextualLaunch>
  37. <enablement>
  38. <with variable="selection">
  39. <count value="1"/>
  40. <iterate>
  41. <test property="org.eclipse.debug.ui.matchesPattern" value="*.sct$"/>
  42. </iterate>
  43. </with>
  44. </enablement>
  45. </contextualLaunch>
  46. </shortcut>
  47. </extension>
  48. </plugin>