use of com.intellij.notification.NotificationGroup in project google-cloud-intellij by GoogleCloudPlatform.
the class AppEngineDeployToolsMenuAction method notifyNotAppEngineProject.
private void notifyNotAppEngineProject(@NotNull Project project) {
NotificationGroup notification = new NotificationGroup(GctBundle.message("appengine.tools.menu.deploy.error.title"), NotificationDisplayType.BALLOON, true);
notification.createNotification(GctBundle.message("appengine.tools.menu.deploy.error.title"), GctBundle.message("appengine.tools.menu.deploy.error.message"), NotificationType.ERROR, null).notify(project);
}
use of com.intellij.notification.NotificationGroup in project google-cloud-intellij by GoogleCloudPlatform.
the class DefaultCloudSdkVersionNotifier method showNotification.
@VisibleForTesting
void showNotification() {
NotificationGroup notification = new NotificationGroup(GctBundle.message("appengine.cloudsdk.version.support.title"), NotificationDisplayType.BALLOON, true);
String message = "<p>" + CloudSdkValidationResult.CLOUD_SDK_VERSION_NOT_SUPPORTED.getMessage() + "</p>";
notification.createNotification(GctBundle.message("appengine.cloudsdk.version.support.title"), message, NotificationType.WARNING, null).notify(null);
}
use of com.intellij.notification.NotificationGroup in project google-cloud-intellij by GoogleCloudPlatform.
the class AppEngineStandardLocalRunToolsMenuAction method notifyNotAppEngineStandardProject.
private void notifyNotAppEngineStandardProject(@NotNull Project project) {
NotificationGroup notification = new NotificationGroup(GctBundle.message("appengine.tools.menu.run.server.error.title"), NotificationDisplayType.BALLOON, true);
notification.createNotification(GctBundle.message("appengine.tools.menu.run.server.error.title"), GctBundle.message("appengine.tools.menu.run.server.error.message"), NotificationType.ERROR, null).notify(project);
}
Aggregations