[Pydev-cvs] org.python.pydev/src/org/python/pydev/plugin PydevPlugin.java,1.7,1.8
Brought to you by:
fabioz
From: Aleksandar T. <at...@us...> - 2004-05-07 21:49:09
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9110/src/org/python/pydev/plugin Modified Files: PydevPlugin.java Log Message: Final touches. Debugger is ready to go Index: PydevPlugin.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin/PydevPlugin.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** PydevPlugin.java 5 May 2004 02:05:19 -0000 1.7 --- PydevPlugin.java 7 May 2004 21:49:00 -0000 1.8 *************** *** 110,119 **** * @return part that is the editor */ ! public IEditorPart doOpenEditor(IPath path, boolean activate) { if (path == null) return null; IWorkspace w = ResourcesPlugin.getWorkspace(); IFile file = w.getRoot().getFileForLocation(path); ! IWorkbenchPage wp = getWorkbench().getActiveWorkbenchWindow().getActivePage(); try { if (file != null && file.exists()) { --- 110,119 ---- * @return part that is the editor */ ! public static IEditorPart doOpenEditor(IPath path, boolean activate) { if (path == null) return null; IWorkspace w = ResourcesPlugin.getWorkspace(); IFile file = w.getRoot().getFileForLocation(path); ! IWorkbenchPage wp = plugin.getWorkbench().getActiveWorkbenchWindow().getActivePage(); try { if (file != null && file.exists()) { |