* @return This is the Path that the editor is editing.
*/
private IPath getPathFromInput(IEditorInput otherInput) {
IPath path = null;
if (otherInput instanceof IPathEditorInput) {
IPathEditorInput iPathEditorInput = (IPathEditorInput) otherInput;
try {
path = iPathEditorInput.getPath();
} catch (IllegalArgumentException e) {
//ignore: we may have the trace below inside the FileEditorInput.
//java.lang.IllegalArgumentException
//at org.eclipse.ui.part.FileEditorInput.getPath(FileEditorInput.java:208)
//at org.python.pydev.editor.PyEditTitle.getPathFromInput(PyEditTitle.java:751)