1 11 package org.eclipse.jdt.internal.debug.ui.threadgroups; 12 13 import org.eclipse.debug.core.model.IDebugTarget; 14 import org.eclipse.debug.internal.ui.viewers.update.DebugEventHandler; 15 import org.eclipse.debug.internal.ui.viewers.update.DebugTargetEventHandler; 16 import org.eclipse.debug.internal.ui.viewers.update.DebugTargetProxy; 17 import org.eclipse.debug.internal.ui.viewers.update.StackFrameEventHandler; 18 import org.eclipse.jface.viewers.Viewer; 19 20 24 public class JavaDebugTargetProxy extends DebugTargetProxy { 25 26 private JavaThreadEventHandler fThreadEventHandler; 27 30 public JavaDebugTargetProxy(IDebugTarget target) { 31 super(target); 32 } 33 34 37 protected DebugEventHandler[] createEventHandlers() { 38 fThreadEventHandler = new JavaThreadEventHandler(this); 39 return new DebugEventHandler[] { new DebugTargetEventHandler(this), fThreadEventHandler, 40 new StackFrameEventHandler(this, fThreadEventHandler)}; 41 } 42 43 46 public void installed(Viewer viewer) { 47 super.installed(viewer); 48 fThreadEventHandler.init(viewer); 49 } 50 51 } 52 | Popular Tags |