Examples of fileDirty()


Examples of com.intellij.openapi.vcs.changes.VcsDirtyScopeManager.fileDirty()

   * Call "fileDirty" in the read action.
   */
  public static void markFileAsDirty(final Project project, final VirtualFile file) {
    final VcsDirtyScopeManager mgr = VcsDirtyScopeManager.getInstance(project);
    ApplicationManager.getApplication().runReadAction(new Runnable() {
      public void run() {  mgr.fileDirty(file)}
    });
  }

  public static void markFileAsDirty(final Project project, final FilePath path) {
    ApplicationManager.getApplication().runReadAction(new Runnable() {
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.