From 85783fb6e813ac63f55720dbe361a4baffffc655 Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Fri, 14 Oct 2016 17:38:52 +0300 Subject: [PATCH] [vcs]: add project area for ChangesViewRefresher EP --- .../platform-resources/src/META-INF/VcsExtensionPoints.xml | 2 +- .../intellij/openapi/vcs/changes/actions/RefreshAction.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/platform-resources/src/META-INF/VcsExtensionPoints.xml b/platform/platform-resources/src/META-INF/VcsExtensionPoints.xml index a21517b72d1a..717be1410fcf 100644 --- a/platform/platform-resources/src/META-INF/VcsExtensionPoints.xml +++ b/platform/platform-resources/src/META-INF/VcsExtensionPoints.xml @@ -60,7 +60,7 @@ - + diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RefreshAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RefreshAction.java index d678d7a1e5b5..f3212ac7edd2 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RefreshAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RefreshAction.java @@ -18,7 +18,6 @@ package com.intellij.openapi.vcs.changes.actions; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; -import com.intellij.openapi.actionSystem.PlatformDataKeys; import com.intellij.openapi.fileEditor.FileDocumentManager; import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.project.Project; @@ -56,7 +55,7 @@ public class RefreshAction extends AnAction implements DumbAware { } private static void invokeCustomRefreshes(@NotNull Project project) { - ChangesViewRefresher[] extensions = ChangesViewRefresher.EP_NAME.getExtensions(); + ChangesViewRefresher[] extensions = ChangesViewRefresher.EP_NAME.getExtensions(project); for (ChangesViewRefresher refresher : extensions) { refresher.refresh(project); }