com.intellij.openapi.vfs.VirtualFile



Project JetBrains/intellij-community in file ...e.com.intellij.lang.properties.ResourceBundle.java (2005-12-21)
@@ -8,6 +8,7 @@ package com.intellij.lang.properties;
 
 import com.intellij.lang.properties.psi.PropertiesFile;
 import com.intellij.openapi.project.Project;
+import com.intellij.openapi.vfs.VirtualFile;
 import org.jetbrains.annotations.NotNull;
 
 import javax.swing.*;
@@ -19,4 +20,6 @@ public interface ResourceBundle {
   @NotNull List<PropertiesFile> getPropertiesFiles(final Project project);
 
   @NotNull String getBaseName();
+
+  @NotNull VirtualFile getBaseDirectory();
 }
\ No newline at end of file
Project JetBrains/intellij-community in file ....intellij.openapi.project.ex.ProjectManagerEx.java (2005-09-23)
@@ -4,6 +4,7 @@ import com.intellij.openapi.application.ApplicationManager;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.project.ProjectManager;
 import com.intellij.openapi.util.InvalidDataException;
+import com.intellij.openapi.vfs.VirtualFile;
 import org.jdom.JDOMException;
 
 import java.io.IOException;
@@ -25,4 +26,6 @@ public abstract class ProjectManagerEx extends ProjectManager {
   public abstract boolean isProjectOpened(Project project);
 
   public abstract boolean canClose(Project project);
+
+  public abstract void saveChangedProjectFile(VirtualFile file);
 }
Project JetBrains/intellij-community in file ...i.src.com.intellij.openapi.roots.RootProvider.java (2008-03-12)
@@ -16,6 +16,7 @@
 package com.intellij.openapi.roots;
 
 import com.intellij.openapi.Disposable;
+import com.intellij.openapi.vfs.VirtualFile;
 
 import java.util.EventListener;
 
@@ -25,6 +26,7 @@ import java.util.EventListener;
  */
 public interface RootProvider {
   String[] getUrls(OrderRootType rootType);
+  VirtualFile[] getFiles(OrderRootType rootType);
 
   interface RootSetChangedListener extends EventListener {
     void rootSetChanged(RootProvider wrapper);
Project JetBrains/intellij-community in file ...testFramework.fixtures.CodeInsightTestFixture.java (2007-10-23)
@@ -22,6 +22,7 @@ import com.intellij.codeInspection.LocalInspectionTool;
 import com.intellij.openapi.editor.Editor;
 import com.intellij.openapi.editor.markup.GutterIconRenderer;
 import com.intellij.openapi.project.Project;
+import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.psi.PsiFile;
 import com.intellij.psi.PsiReference;
 import org.jetbrains.annotations.NonNls;
@@ -106,6 +107,7 @@ public interface CodeInsightTestFixture extends IdeaTestFixture {
    */
   long testHighlighting(@NonNls String... filePaths) throws Throwable;
 
+  long testHighlighting(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, VirtualFile file) throws Throwable;
   /**
    * Finds the reference in position marked by {@link #CARET_MARKER}.
    *
Project JetBrains/intellij-community in file ...-openapi.src.com.intellij.util.xml.DomManager.java (2010-08-14)
@@ -20,6 +20,7 @@ import com.intellij.openapi.components.ServiceManager;
 import com.intellij.openapi.module.Module;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.util.*;
+import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.psi.PsiReferenceFactory;
 import com.intellij.psi.xml.XmlAttribute;
 import com.intellij.psi.xml.XmlFile;
@@ -170,4 +171,6 @@ public abstract class DomManager implements ModificationTracker {
     final DomFileElement<DomElement> element = getFileElement(xmlFile);
     return element != null ? element.getFileDescription() : null;
   }
+
+  public abstract void forceRecomputeFile(VirtualFile file);
 }