void (@NotNull AnActionEvent e, @NotNull Project project) { final DataContext context = e.getDataContext(); UISettings uiSettings = UISettings.getInstance(); if (NavBarIdeUtil.isNavbarShown(uiSettings) && (uiSettings.getShowStatusBar() || uiSettings.getNavBarLocation() != NavBarLocation.BOTTOM)) { SelectInNavBarTarget.selectInNavBar(true); } else { if (NavBarIdeUtil.isNavbarV2Enabled()) { NavBarService.getInstance(project).showFloatingNavbar(e.getDataContext()); return; } final Component component = PlatformCoreDataKeys.CONTEXT_COMPONENT.getData(context); if (!isInsideNavBar(component)) { IdeEventQueue.getInstance().getPopupManager().closeAllPopups(false); final Editor editor = CommonDataKeys.EDITOR.getData(context); final NavBarPanel toolbarPanel = new NavBarPanel(project, false); toolbarPanel.showHint(editor, context); } } }