From 598dec4d4ae0141b9bf1a7f41e56c54b5d218b3f Mon Sep 17 00:00:00 2001 From: incastrix Date: Mon, 11 Feb 2008 19:16:02 +0000 Subject: [PATCH] Fix import --- .../php/launching/PHPDebugModelPresentation.java | 22 +------------------ 1 files changed, 2 insertions(+), 20 deletions(-) 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) { -- 1.7.1