mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs]: add project area for ChangesViewRefresher EP
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<extensionPoint name="vcsPopupProvider"
|
||||
interface="com.intellij.openapi.vcs.actions.VcsQuickListContentProvider"/>
|
||||
<extensionPoint name="patch.extension" interface="com.intellij.openapi.diff.impl.patch.PatchEP" area="IDEA_PROJECT"/>
|
||||
<extensionPoint name="vcsChangesViewRefresher" interface="com.intellij.openapi.vcs.changes.ChangesViewRefresher"/>
|
||||
<extensionPoint name="vcsChangesViewRefresher" interface="com.intellij.openapi.vcs.changes.ChangesViewRefresher" area="IDEA_PROJECT"/>
|
||||
<extensionPoint name="vcsAnnotationGutterActionProvider" interface="com.intellij.openapi.vcs.annotate.AnnotationGutterActionProvider"/>
|
||||
|
||||
<extensionPoint name="vcs.taskHandler" interface="com.intellij.openapi.vcs.VcsTaskHandler" area="IDEA_PROJECT"/>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user