[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/actions PyOpenAction.java,1.4,1.5
Brought to you by:
fabioz
From: Aleksandar T. <at...@us...> - 2004-05-07 21:49:08
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9110/src/org/python/pydev/editor/actions Modified Files: PyOpenAction.java Log Message: Final touches. Debugger is ready to go Index: PyOpenAction.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/actions/PyOpenAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PyOpenAction.java 5 May 2004 02:05:08 -0000 1.4 --- PyOpenAction.java 7 May 2004 21:48:58 -0000 1.5 *************** *** 55,65 **** IEditorPart editor = null; if (p.file instanceof IFile) ! editor = PydevPlugin.getDefault().doOpenEditor(((IFile)p.file).getFullPath(), true); else if (p.file instanceof IPath) { ! editor = PydevPlugin.getDefault().doOpenEditor((IPath)p.file, true); } else if (p.file instanceof File) { Path path = new Path(((File)p.file).getAbsolutePath()); ! editor = PydevPlugin.getDefault().doOpenEditor(path, true); } if (editor instanceof ITextEditor) { --- 55,65 ---- IEditorPart editor = null; if (p.file instanceof IFile) ! editor = PydevPlugin.doOpenEditor(((IFile)p.file).getFullPath(), true); else if (p.file instanceof IPath) { ! editor = PydevPlugin.doOpenEditor((IPath)p.file, true); } else if (p.file instanceof File) { Path path = new Path(((File)p.file).getAbsolutePath()); ! editor = PydevPlugin.doOpenEditor(path, true); } if (editor instanceof ITextEditor) { |