void (@NotNull AnAction action, @NotNull AnActionEvent event, @NotNull AnActionResult result) { if (shouldSkipAction(action)) return; if (myPanel.isInFloatingMode()) { myPanel.hideHint(); } else { myPanel.cancelPopup(); } }