Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2008-01-30 22:32:49 -0500
committerDarin Wright2008-01-30 22:32:49 -0500
commite38ab94cf7e4bef9717a708786e94cca8eb9c1f5 (patch)
treed7dfa46f12009469dac745c95db7b58a18c1d04b /org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples
parent3ae04c7b5afa3a75074705afdc28f60e7201bd9c (diff)
downloadeclipse.platform.debug-e38ab94cf7e4bef9717a708786e94cca8eb9c1f5.tar.gz
eclipse.platform.debug-e38ab94cf7e4bef9717a708786e94cca8eb9c1f5.tar.xz
eclipse.platform.debug-e38ab94cf7e4bef9717a708786e94cca8eb9c1f5.zip
install launch proxy in debug view
Diffstat (limited to 'org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples')
-rw-r--r--org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerModelProxyFactory.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerModelProxyFactory.java b/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerModelProxyFactory.java
index cc6f658e4..52e48c1e7 100644
--- a/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerModelProxyFactory.java
+++ b/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerModelProxyFactory.java
@@ -10,10 +10,12 @@
*******************************************************************************/
package org.eclipse.debug.examples.ui.midi.adapters;
+import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.examples.core.midi.launcher.MidiLaunch;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxy;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxyFactory;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
+import org.eclipse.debug.internal.ui.viewers.update.LaunchProxy;
import org.eclipse.debug.ui.IDebugUIConstants;
/**
@@ -33,6 +35,11 @@ public class SequencerModelProxyFactory implements IModelProxyFactory {
return new SequencerControlsModelProxy((MidiLaunch)element);
}
}
+ if (IDebugUIConstants.ID_DEBUG_VIEW.equals(context.getId())) {
+ if (element instanceof MidiLaunch) {
+ return new LaunchProxy((ILaunch)element);
+ }
+ }
return null;
}

Back to the top