Search in sources :

Example 6 with NotificationType

use of com.intellij.notification.NotificationType in project intellij-plugins by JetBrains.

the class PhoneGapExecutableChecker method noPhoneGap.

private static void noPhoneGap() {
    String groupDisplayId = "PhoneGap notification";
    String notificationTitle = "PhoneGap Plugin";
    String notificationMessage = "PhoneGap/Cordova has incorrect executable path";
    NotificationType notificationType = NotificationType.ERROR;
    Notification notification = new Notification(groupDisplayId, notificationTitle, notificationMessage, notificationType);
    Notifications.Bus.notify(notification);
}
Also used : NotificationType(com.intellij.notification.NotificationType) Notification(com.intellij.notification.Notification)

Aggregations

NotificationType (com.intellij.notification.NotificationType)6 Notification (com.intellij.notification.Notification)2 NotNull (org.jetbrains.annotations.NotNull)2 NotificationGroup (com.intellij.notification.NotificationGroup)1 ProgressIndicator (com.intellij.openapi.progress.ProgressIndicator)1 Task (com.intellij.openapi.progress.Task)1 LibraryOrderEntry (com.intellij.openapi.roots.LibraryOrderEntry)1 Library (com.intellij.openapi.roots.libraries.Library)1 ActionCallback (com.intellij.openapi.util.ActionCallback)1 UpdatedFiles (com.intellij.openapi.vcs.update.UpdatedFiles)1 VirtualFile (com.intellij.openapi.vfs.VirtualFile)1 PsiFile (com.intellij.psi.PsiFile)1 File (java.io.File)1 IOException (java.io.IOException)1