void (@NotNull DefaultMutableTreeNode sourceNode, @NotNull MouseEvent event) { if (myRepository.getRemotes().isEmpty()) { showDefineRemoteDialog(); } else { Component eventComponent = event.getComponent(); if (eventComponent != null) { showRemoteSelector(eventComponent, event.getPoint()); } } }