void (@NotNull MouseEvent e) { if (e.getID() == MouseEvent.MOUSE_RELEASED) { handleActionsClick(e); } if (e.getID() == MouseEvent.MOUSE_PRESSED) { if (findHoveredIcon() != null) return; if (UIUtil.isActionClick(e)) { ToolWindowContentUi.toggleContentPopup(myUi, myUi.getContentManager()); } } }