Search in sources :

Example 1 with VcsLogGraphTable

use of com.intellij.vcs.log.ui.table.VcsLogGraphTable 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);
    }
}
Also used : AbstractVcsLogUi(com.intellij.vcs.log.ui.AbstractVcsLogUi) VcsLogGraphTable(com.intellij.vcs.log.ui.table.VcsLogGraphTable)

Aggregations

AbstractVcsLogUi (com.intellij.vcs.log.ui.AbstractVcsLogUi)1 VcsLogGraphTable (com.intellij.vcs.log.ui.table.VcsLogGraphTable)1