Examples of fireNotificationPopup()


Examples of com.intellij.openapi.wm.StatusBar.fireNotificationPopup()

      label.setText(RevuBundle.message("statusPopup.alert.text", message.getTitle()));

      StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
      if (statusBar != null)
      {
        statusBar.fireNotificationPopup(label, messageType.getPopupBackground());
      }
    }
  }

  public static void showMessageInPopup(@NotNull Project project, @NotNull StatusBarMessage message,
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar.fireNotificationPopup()

      label.setText(RevuBundle.message("statusPopup.alert.text", message.getTitle()));

      StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
      if (statusBar != null)
      {
        statusBar.fireNotificationPopup(label, messageType.getPopupBackground());
      }
    }
  }

  public static void showMessageInPopup(@NotNull Project project, @NotNull StatusBarMessage message,
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar.fireNotificationPopup()

                        area.setText(notification.toString());
                        StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
                        if (statusBar != null)

                        {
                            statusBar.fireNotificationPopup(area, LightColors.GREEN);
                        }
                    }

                }
        );
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar.fireNotificationPopup()

                        StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
                        if (statusBar == null) {
                            return;
                        }
                        JLabel jLabel = new JLabel(message);
                        statusBar.fireNotificationPopup(jLabel, JBColor.WHITE);
                    }
                });
            }
        });
    }
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar.fireNotificationPopup()

                    messageLabel.setHorizontalTextPosition(SwingConstants.RIGHT);
                }

                final StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
                if (statusBar != null) {
                    statusBar.fireNotificationPopup(messageLabel, colour);
                }
            }

            private Dimension getPreferredSize(final JLabel label,
                                               final int preferredWidth) {
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.