1 package net.sourceforge.phpeclipse.xdebug.ui.php.model;
3 import org.eclipse.core.runtime.IAdapterFactory;
4 import org.eclipse.debug.ui.actions.IToggleBreakpointsTarget;
6 public class PHPBreakpointAdapterFactory implements IAdapterFactory {
8 public Object getAdapter(Object adaptableObject, Class adapterType) {
9 if (adapterType == IToggleBreakpointsTarget.class) {
10 return new PHPLineBreakpointAdapter();
15 public Class[] getAdapterList() {
16 return new Class[] { IToggleBreakpointsTarget.class };