[Pydev-cvs] org.python.pydev.debug/src/org/python/pydev/debug/model PySourceLocator.java, 1.8, 1.9
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-08-06 16:23:03
|
Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26619/src/org/python/pydev/debug/model Modified Files: PySourceLocator.java PyDebugModelPresentation.java Log Message: - Refactoring the source locator - Linxing working with compare editor both ways Index: PyDebugModelPresentation.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/PyDebugModelPresentation.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** PyDebugModelPresentation.java 10 Apr 2008 16:15:59 -0000 1.9 --- PyDebugModelPresentation.java 6 Aug 2008 16:23:11 -0000 1.10 *************** *** 26,30 **** import org.python.pydev.core.bundle.ImageCache; import org.python.pydev.debug.core.PydevDebugPlugin; ! import org.python.pydev.plugin.PydevPlugin; /** --- 26,30 ---- import org.python.pydev.core.bundle.ImageCache; import org.python.pydev.debug.core.PydevDebugPlugin; ! import org.python.pydev.editorinput.PyOpenEditor; /** *************** *** 173,177 **** if(file != null){ IPath path = new Path(file); ! IEditorPart part = PydevPlugin.doOpenEditor(path, false); return part.getEditorInput(); } --- 173,177 ---- if(file != null){ IPath path = new Path(file); ! IEditorPart part = PyOpenEditor.doOpenEditor(path); return part.getEditorInput(); } Index: PySourceLocator.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/PySourceLocator.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PySourceLocator.java 20 May 2006 00:21:22 -0000 1.8 --- PySourceLocator.java 6 Aug 2008 16:23:11 -0000 1.9 *************** *** 12,15 **** --- 12,16 ---- import org.eclipse.ui.IEditorInput; import org.python.pydev.editor.PyEdit; + import org.python.pydev.editorinput.PySourceLocatorBase; import org.python.pydev.plugin.PydevPlugin; *************** *** 32,36 **** if (path != null && !path.toString().startsWith("<")){ ! edInput = PydevPlugin.createEditorInput(path); } --- 33,37 ---- if (path != null && !path.toString().startsWith("<")){ ! edInput = PySourceLocatorBase.createEditorInput(path); } |