Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2008-01-28 23:01:21 -0500
committerDarin Wright2008-01-28 23:01:21 -0500
commit66fbc197a05c15c438887d40eeec73efefd59df1 (patch)
tree3d7a7918b7d9fc59ba758cad6d7026908f1ee190 /org.eclipse.debug.examples.ui/plugin.xml
parent0bc10a3da40bb22a0a82290efaee0657c768b245 (diff)
downloadeclipse.platform.debug-66fbc197a05c15c438887d40eeec73efefd59df1.tar.gz
eclipse.platform.debug-66fbc197a05c15c438887d40eeec73efefd59df1.tar.xz
eclipse.platform.debug-66fbc197a05c15c438887d40eeec73efefd59df1.zip
Launch shortcut for MIDI files
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