Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2008-01-28 10:04:24 -0500
committerDarin Wright2008-01-28 10:04:24 -0500
commitdf58149b7c876b39c609e095fb247a356fe402cc (patch)
treed9f91b962628b8e372e39cb7622d0819d64001a3 /org.eclipse.debug.examples.ui/plugin.xml
parentb4150306417b8daa5a0847c09392316930014fd7 (diff)
downloadeclipse.platform.debug-df58149b7c876b39c609e095fb247a356fe402cc.tar.gz
eclipse.platform.debug-df58149b7c876b39c609e095fb247a356fe402cc.tar.xz
eclipse.platform.debug-df58149b7c876b39c609e095fb247a356fe402cc.zip
initial release of additional MIDI example
Diffstat (limited to 'org.eclipse.debug.examples.ui/plugin.xml')
-rw-r--r--org.eclipse.debug.examples.ui/plugin.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/org.eclipse.debug.examples.ui/plugin.xml b/org.eclipse.debug.examples.ui/plugin.xml
index 3cc918c18..6809c0442 100644
--- a/org.eclipse.debug.examples.ui/plugin.xml
+++ b/org.eclipse.debug.examples.ui/plugin.xml
@@ -10,6 +10,11 @@
description="Specify and launch a PDA program"
id="pda.tabGroup"
type="pda.launchType"/>
+ <launchConfigurationTabGroup
+ class="org.eclipse.debug.examples.ui.midi.launcher.MidiTabGroup"
+ description="Play a MIDI file"
+ id="midi.tabGroup"
+ type="midi.launchType"/>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
@@ -17,6 +22,10 @@
icon="icons/full/obj16/pda.gif"
configTypeID="pda.launchType"
id="pda.typeImage"/>
+ <launchConfigurationTypeImage
+ icon="icons/full/obj16/note.gif"
+ configTypeID="midi.launchType"
+ id="midi.typeImage"/>
</extension>
<extension
point="org.eclipse.debug.ui.launchShortcuts">
@@ -171,4 +180,57 @@
</factory>
-->
</extension>
+
+ <extension
+ point="org.eclipse.core.runtime.adapters">
+ <factory
+ class="org.eclipse.debug.examples.ui.midi.adapters.MidiAdapterFactory"
+ adaptableType="org.eclipse.debug.examples.core.midi.launcher.MidiLaunch">
+ <adapter type="org.eclipse.debug.internal.ui.viewers.model.provisional.IElementContentProvider"/>
+ <adapter
+ type="org.eclipse.debug.internal.ui.viewers.model.provisional.IColumnPresentationFactory">
+ </adapter>
+ <adapter
+ type="org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxyFactory">
+ </adapter>
+ <adapter
+ type="org.eclipse.debug.internal.ui.viewers.model.provisional.IElementMementoProvider">
+ </adapter>
+ </factory>
+ <factory
+ class="org.eclipse.debug.examples.ui.midi.adapters.MidiAdapterFactory"
+ adaptableType="javax.sound.midi.Track">
+ <adapter type="org.eclipse.debug.internal.ui.viewers.model.provisional.IElementLabelProvider"/>
+ </factory>
+ <factory
+ adaptableType="org.eclipse.debug.examples.core.midi.launcher.SequencerControl"
+ class="org.eclipse.debug.examples.ui.midi.adapters.MidiAdapterFactory">
+ <adapter
+ type="org.eclipse.debug.internal.ui.viewers.model.provisional.IElementLabelProvider">
+ </adapter>
+ <adapter
+ type="org.eclipse.debug.internal.ui.viewers.model.provisional.IElementEditor">
+ </adapter>
+ </factory>
+ </extension>
+ <extension
+ point="org.eclipse.debug.ui.detailPaneFactories">
+ <detailFactories
+ class="org.eclipse.debug.examples.ui.midi.detailpanes.ControlDetailPaneFactory"
+ id="org.eclipse.debug.examples.ui.controlFactory">
+ <enablement>
+ <with
+ variable="selection">
+ <count
+ value="1">
+ </count>
+ <iterate>
+ <instanceof
+ value="org.eclipse.debug.examples.core.midi.launcher.TempoControl">
+ </instanceof>
+ </iterate>
+ </with>
+ </enablement>
+ </detailFactories>
+ </extension>
</plugin>

Back to the top