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.CommonUtils.java

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

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

public static void showFomatSizePacking() {
    Notification.show(BundleUtils.getString("error.number.fomatpacksize"), Notification.Type.TRAY_NOTIFICATION);
}

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

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

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

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

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

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

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

public static void showMessageRequired(String message) {
    Notification.show(BundleUtils.getString("common.input.required") + " " + (BundleUtils.getString(message)),
            Notification.Type.TRAY_NOTIFICATION);
}

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

public static void showLocatChooseGoods(String strLocation) {
    Notification.show(BundleUtils.getString("location.no.goods").replace("@s", strLocation),
            Notification.Type.TRAY_NOTIFICATION);
}

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

public static void showCodeExist() {
    Notification.show(BundleUtils.getString("common.error.code.existed"), Notification.Type.TRAY_NOTIFICATION);
}

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

public static void showStockExist() {
    Notification.show(BundleUtils.getString("common.error.stock.existed"), Notification.Type.HUMANIZED_MESSAGE);
}

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

public static void showUpdateSuccess() {
    Notification.show(BundleUtils.getString("common.notitfication.update.success"),
            Notification.Type.TRAY_NOTIFICATION);
}