Files
Nikolay Chashnikov 9843d2a01a [platform] API cleanup: remove unused deprecated NotificationBuilder class (IDEA-312594)
GitOrigin-RevId: 6bdb5bb80ab101f6b6aadc0b858b66ee46454188
2023-05-15 17:45:48 +00:00

14 lines
713 B
Java

import com.intellij.notification.Notification;
import com.intellij.notification.NotificationGroupManager;
import com.intellij.notification.NotificationType;
public class NotificationGroupId {
public static void main(String[] args) {
new Notification("my.balloon", "Content", NotificationType.INFORMATION);
NotificationGroupManager.getInstance().getNotificationGroup("my.balloon");
new Notification("<error descr="Cannot resolve notification group id 'INVALID_VALUE'">INVALID_VALUE</error>", "Content", NotificationType.INFORMATION);
NotificationGroupManager.getInstance().getNotificationGroup("<error descr="Cannot resolve notification group id 'INVALID_VALUE'">INVALID_VALUE</error>");
}
}