public void registerDiffAction(@NotNull AnAction diffAction){
  diffAction.registerCustomShortcutSet(diffAction.getShortcutSet(),myTable);
}

public void registerDiffAction ( @ NotNull AnAction diffAction ) { diffAction . registerCustomShortcutSet ( diffAction . getShortcutSet ( ) , myTable ) ; }
registers the diff action which will be called when the diff shortcut is pressed in the table .
