Fix import
authorincastrix <incastrix>
Mon, 11 Feb 2008 19:16:02 +0000 (19:16 +0000)
committerincastrix <incastrix>
Mon, 11 Feb 2008 19:16:02 +0000 (19:16 +0000)
net.sourceforge.phpeclipse.xdebug.ui/src/net/sourceforge/phpeclipse/xdebug/ui/php/launching/PHPDebugModelPresentation.java

index 2aea900..8ef0577 100644 (file)
@@ -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) {