Example usage for com.vaadin.ui Notification show

List of usage examples for com.vaadin.ui Notification show

Introduction

In this page you can find the example usage for com.vaadin.ui Notification show.

Prototype

public static Notification show(String caption, Type type) 

Source Link

Document

Shows a notification message the current page.

Usage

From source file:com.cms.utils.CommonMessages.java

public static void showWarningMessage(String message) {
    Notification.show(message, Notification.Type.WARNING_MESSAGE);
}

From source file:com.cms.utils.CommonMessages.java

public static void showHumanizedMessage(String message) {
    Notification.show(message, Notification.Type.HUMANIZED_MESSAGE);
}

From source file:com.cms.utils.CommonUtils.java

public static void showSuccess() {
    Notification.show(BundleUtils.getString("actionSuccess"), Notification.Type.TRAY_NOTIFICATION);
}

From source file:com.cms.utils.CommonUtils.java

public static void showNotFountData() {
    Notification.show(BundleUtils.getString("notFoundData"), Notification.Type.TRAY_NOTIFICATION);
}

From source file:com.cms.utils.CommonUtils.java

public static void showNoGoods() {
    Notification.show(BundleUtils.getString("stock.no.goods.1"), Notification.Type.TRAY_NOTIFICATION);
}

From source file:com.cms.utils.CommonUtils.java

public static void showValidDate() {
    Notification.show(BundleUtils.getString("validTime"), Notification.Type.TRAY_NOTIFICATION);
}

From source file:com.cms.utils.CommonUtils.java

public static void showValidDateSignContract() {
    Notification.show(BundleUtils.getString("signdateStartdate"), Notification.Type.TRAY_NOTIFICATION);
}

From source file:com.cms.utils.CommonUtils.java

public static void showStartEndDate() {
    Notification.show(BundleUtils.getString("startEndDate"), Notification.Type.TRAY_NOTIFICATION);
}

From source file:com.cms.utils.CommonUtils.java

public static void showEndBillingDate() {
    Notification.show(BundleUtils.getString("endBillingDate"), Notification.Type.TRAY_NOTIFICATION);
}

From source file:com.cms.utils.CommonUtils.java

public static void showFillAllData() {
    Notification.show(BundleUtils.getString("fillAllData"), Notification.Type.TRAY_NOTIFICATION);
}