From: incastrix Date: Mon, 11 Feb 2008 19:16:02 +0000 (+0000) Subject: Fix import X-Git-Url: http://secure.phpeclipse.com Fix import --- diff --git a/net.sourceforge.phpeclipse.xdebug.ui/src/net/sourceforge/phpeclipse/xdebug/ui/php/launching/PHPDebugModelPresentation.java b/net.sourceforge.phpeclipse.xdebug.ui/src/net/sourceforge/phpeclipse/xdebug/ui/php/launching/PHPDebugModelPresentation.java index 2aea900..8ef0577 100644 --- a/net.sourceforge.phpeclipse.xdebug.ui/src/net/sourceforge/phpeclipse/xdebug/ui/php/launching/PHPDebugModelPresentation.java +++ b/net.sourceforge.phpeclipse.xdebug.ui/src/net/sourceforge/phpeclipse/xdebug/ui/php/launching/PHPDebugModelPresentation.java @@ -21,8 +21,8 @@ import net.sourceforge.phpeclipse.xdebug.php.model.XDebugThread; import net.sourceforge.phpeclipse.xdebug.php.model.XDebugStackFrame; import net.sourceforge.phpeclipse.xdebug.php.model.XDebugVariable; import net.sourceforge.phpeclipse.xdebug.php.model.XDebugValue; -import net.sourceforge.phpeclipse.xdebug.ui.XDebugUIPlugin; -import net.sourceforge.phpeclipse.xdebug.ui.php.launching.CopyOfPHPDebugModelPresentation.StorageEditorInput; +//import net.sourceforge.phpeclipse.xdebug.ui.XDebugUIPlugin; +//import net.sourceforge.phpeclipse.xdebug.ui.php.launching.CopyOfPHPDebugModelPresentation.StorageEditorInput; //import net.sourceforge.phpdt.internal.debug.core.model.IPHPDebugTarget; @@ -94,24 +94,6 @@ public class PHPDebugModelPresentation extends LabelProvider implements /** * @see IDebugModelPresentation#getEditorInput(Object) */ - public IEditorInput getEditorInputA(Object item) { - - if (item instanceof XDebugLineBreakpoint) { - IBreakpoint bp = (IBreakpoint) item; - IMarker ma = bp.getMarker(); - //IFile eclipseFile = PHPDebugUiPlugin.getWorkspace().getRoot() - // .getFileForLocation(ma.getResource().getLocation()); - - IFile eclipseFile = null; //XDebugUIPlugin.getWorkspace().getRoot() - //.getFile(ma.getResource().getFullPath()); - if (eclipseFile == null) { - return null; - } - return new FileEditorInput(eclipseFile); - } - return null; - } - public IEditorInput getEditorInput(Object element) { if (element instanceof IFile) {