Examples of rebuildPath()


Examples of org.python.pydev.plugin.nature.PythonNature.rebuildPath()

            if (changed) {
                pythonPathNature.setVariableSubstitution(variableSubstitution);
                PythonNature pythonNature = PythonNature.getPythonNature(project);

                if (pythonNature != null && (changed || pythonNature.getAstManager() == null)) {
                    pythonNature.rebuildPath();
                }
            }

        } catch (Exception e) {
            Log.log(e);
View Full Code Here

Examples of org.python.pydev.plugin.nature.PythonNature.rebuildPath()

                    changed = true;
                }

                PythonNature pythonNature = PythonNature.getPythonNature(project);
                if (pythonNature != null && (changed || force || pythonNature.getAstManager() == null)) {
                    pythonNature.rebuildPath();
                }

            } catch (Exception e) {
                Log.log(IStatus.ERROR, "Unexpected error setting project properties", e);
            }
View Full Code Here

Examples of org.python.pydev.plugin.nature.PythonNature.rebuildPath()

      // for some reason the pydev project's path isn't initialized properly
      // leading to findAllOccurrences only finding results from the current
      // file. This seems to be plenty fast for my reasonably sized project, so
      // hopefully it won't be a bottleneck for others.
      PythonNature pythonNature = PythonNature.getPythonNature(project);
      pythonNature.rebuildPath();

      request.fillInitialNameAndOffset();
      IPyRefactoring2 pyRefactoring = (IPyRefactoring2)
        AbstractPyRefactoring.getPyRefactoring();
      Map<Tuple<String,File>, HashSet<ASTEntry>> refs =
View Full Code Here

Examples of org.python.pydev.plugin.nature.PythonNature.rebuildPath()

  @Override
  public void refresh(IProject project, CommandLine commandLine)
    throws Exception
  {
    PythonNature pythonNature = PythonNature.getPythonNature(project);
    pythonNature.rebuildPath();
  }

  @Override
  public void refresh(IProject project, IFile file)
    throws Exception
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.