Search in sources :

Example 1 with VcsLogHighlighter

use of com.intellij.vcs.log.VcsLogHighlighter in project intellij-community by JetBrains.

the class VcsLogGraphTable method updateDataPack.

public void updateDataPack(@NotNull VisiblePack visiblePack, boolean permGraphChanged) {
    VcsLogGraphTable.Selection previousSelection = getSelection();
    boolean filtersChanged = !getModel().getVisiblePack().getFilters().equals(visiblePack.getFilters());
    getModel().setVisiblePack(visiblePack);
    previousSelection.restore(visiblePack.getVisibleGraph(), true, permGraphChanged);
    for (VcsLogHighlighter highlighter : myHighlighters) {
        highlighter.update(visiblePack, permGraphChanged);
    }
    setPaintBusy(false);
    myAuthorColumnInitialized = myAuthorColumnInitialized && !filtersChanged;
    reLayout();
}
Also used : VcsLogHighlighter(com.intellij.vcs.log.VcsLogHighlighter)

Aggregations

VcsLogHighlighter (com.intellij.vcs.log.VcsLogHighlighter)1