boolean (Project project, String toolWindowId, MessageType messageType, @Nls String fullMessage, Icon icon, HyperlinkListener listener) { ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(project); if (toolWindowManager.canShowNotification(toolWindowId)) { //noinspection SSBasedInspection toolWindowManager.notifyByBalloon(toolWindowId, messageType, fullMessage, icon, listener); return true; } else { return false; } }