plugin.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. </launchConfigurationTabGroup>
  23. </extension>
  24. <!-- launch shortcuts -->
  25. <extension point="org.eclipse.debug.ui.launchShortcuts">
  26. <shortcut
  27. id="org.yakindu.sct.core.simulation.launch.shortcut"
  28. class="org.yakindu.sct.simulation.ui.sexec.launch.StatechartLaunchShortcut"
  29. label="Statechart Simulation"
  30. icon="icons/Statechart-Launcher-16.png"
  31. modes="run">
  32. <contextualLaunch>
  33. <enablement>
  34. <with variable="selection">
  35. <count value="1"/>
  36. <iterate>
  37. <test property="org.eclipse.debug.ui.matchesPattern" value="*.sct"/>
  38. </iterate>
  39. </with>
  40. </enablement>
  41. </contextualLaunch>
  42. </shortcut>
  43. </extension>
  44. </plugin>