return pythonNature;
}
Tuple<IPythonNature, String> infoForFile = PydevPlugin.getInfoForFile(getEditorFile());
if (infoForFile == null) {
NotConfiguredInterpreterException e = new NotConfiguredInterpreterException();
ErrorDialog.openError(PyAction.getShell(), "Error: no interpreter configured",
"Interpreter not configured\n(Please, Configure it under window->preferences->PyDev)",
PydevPlugin.makeStatus(IStatus.ERROR, e.getMessage(), e));
throw e;
}
pythonNature = infoForFile.o1;
return pythonNature;