void (JComponent root) { myChangesTree = new AsyncChangesTreeImpl.Changes(myProject, false, false); myChangesTree.setDoubleClickAndEnterKeyHandler(() -> new ShowDifferenceAction().performIfEnabled()); new ShowDifferenceAction().registerCustomShortcutSet(root, null); myChangesTree.installPopupHandler(createChangesTreeActions()); }