Examples of notifyByBalloon()


Examples of com.intellij.openapi.wm.ToolWindowManager.notifyByBalloon()

  public static void showToolWindowInfoNotifier(final Project project, final String html, @Nullable final HyperlinkListener hyperlinkListener) {
    final ToolWindowManager manager = ToolWindowManager.getInstance(project);
    if (manager == null) { // this should never happen.
      return;
    }
    manager.notifyByBalloon(IdeaUtilImpl.getPluginComponent(project).getInternalToolWindowId(), MessageType.INFO, html, null, hyperlinkListener);
  }


  public static void showToolWindowWarnNotifier(final Project project, final String html) {
    showToolWindowWarnNotifier(project, html, null);
View Full Code Here

Examples of com.intellij.openapi.wm.ToolWindowManager.notifyByBalloon()

  public static void showToolWindowWarnNotifier(final Project project, final String html, @Nullable final HyperlinkListener hyperlinkListener) {
    final ToolWindowManager manager = ToolWindowManager.getInstance(project);
    if (manager == null) { // this should never happen.
      return;
    }
    manager.notifyByBalloon(IdeaUtilImpl.getPluginComponent(project).getInternalToolWindowId(), MessageType.WARNING, html, null, hyperlinkListener);
  }


  public static void showToolWindowErrorNotifier(final Project project, final String html) {
    showToolWindowErrorNotifier(project, html, null);
View Full Code Here

Examples of com.intellij.openapi.wm.ToolWindowManager.notifyByBalloon()

  public static void showToolWindowErrorNotifier(final Project project, final String html, @Nullable final HyperlinkListener hyperlinkListener) {
    final ToolWindowManager manager = ToolWindowManager.getInstance(project);
    if (manager == null) { // this should never happen.
      return;
    }
    manager.notifyByBalloon(IdeaUtilImpl.getPluginComponent(project).getInternalToolWindowId(), MessageType.ERROR, html, null, hyperlinkListener);
  }


  public static void showPopup(final Project project, final Component parent, final String html, final Orientation orientation, @Nullable final Icon icon, final Color bgColor) {
    final BalloonBuilder builder = JBPopupFactory.getInstance().createHtmlTextBalloonBuilder(html, icon, bgColor, null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.