use of com.intellij.vcs.log.ui.AbstractVcsLogUi in project intellij-community by JetBrains.
the class ShowCommitTooltipAction method actionPerformed.
@Override
public void actionPerformed(@NotNull AnActionEvent e) {
VcsLogUtil.triggerUsage(e);
VcsLogGraphTable table = ((AbstractVcsLogUi) e.getRequiredData(VcsLogDataKeys.VCS_LOG_UI)).getTable();
int row = table.getSelectedRow();
if (ScrollingUtil.isVisible(table, row)) {
table.showTooltip(row);
}
}
Aggregations