Package org.eclipse.dltk.core

Examples of org.eclipse.dltk.core.ISourceModule.makeConsistent()


                                 */);
    workingCopy.getBuffer().setContents(source);
    // if (problemRequestor instanceof ProblemRequestor)
    // ((ProblemRequestor)
    // problemRequestor).initialize(source.toCharArray());
    workingCopy.makeConsistent(null/* no progress monitor */);
    return workingCopy;
  }

  public static void waitUntilIndexesReady() {
    ModelManager.getModelManager().getIndexManager().waitUntilReady();
View Full Code Here


    throws Exception
  {
    try{
      ISourceModule module = DltkUtils.getSourceModule(file);
      if (module != null){
        module.makeConsistent(new NullProgressMonitor());
      }
    }catch(IllegalArgumentException iae){
      // ignore
    }
  }
View Full Code Here

    throws Exception
  {
    IEditorInput input = new FileEditorInput(file);
    ISourceModule module = PHPUiPlugin.getEditorInputTypeRoot(input);
    if (module != null){
      module.makeConsistent(new NullProgressMonitor());
      // alternate to makeConsistent where moduleDecl can be obtained using
      // PHPSourceParserFactory.parse, like in SrcUpdateCommmand.
      //ISourceModuleInfoCache sourceModuleInfoCache = ModelManager
      //    .getModelManager().getSourceModuleInfoCache();
      //ISourceModuleInfo mifo = sourceModuleInfoCache.get(module);
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.