use of com.intellij.openapi.vcs.annotate.AnnotationSource in project intellij-community by JetBrains.
the class SwitchAnnotationSourceAction method actionPerformed.
public void actionPerformed(AnActionEvent e) {
myShowMerged = !myShowMerged;
final AnnotationSource newSource = AnnotationSource.getInstance(myShowMerged);
mySwitcher.switchTo(newSource);
for (Consumer<AnnotationSource> listener : myListeners) {
listener.consume(newSource);
}
myGutter.revalidateMarkup();
}
Aggregations