Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.examples.ui/plugin.xml')
-rw-r--r--org.eclipse.debug.examples.ui/plugin.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/org.eclipse.debug.examples.ui/plugin.xml b/org.eclipse.debug.examples.ui/plugin.xml
index 6809c0442..41fd1c716 100644
--- a/org.eclipse.debug.examples.ui/plugin.xml
+++ b/org.eclipse.debug.examples.ui/plugin.xml
@@ -49,6 +49,27 @@
</enablement>
</contextualLaunch>
</shortcut>
+ <shortcut
+ class="org.eclipse.debug.examples.ui.midi.launcher.MidiLaunchShortcut"
+ description="Plays a standard MIDI file"
+ icon="icons/full/obj16/note.gif"
+ id="midi.launchShortcut"
+ label="MIDI File"
+ modes="run, debug">
+ <contextualLaunch>
+ <enablement>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate>
+ <instanceof value="org.eclipse.core.resources.IFile"/>
+ <test
+ value="*.mid"
+ property="org.eclipse.debug.ui.matchesPattern"/>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ </shortcut>
</extension>
<!--#endif -->
<extension

Back to the top