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 showValidFileImport() {
    Notification.show(BundleUtils.getString("valid.import.file"), Notification.Type.TRAY_NOTIFICATION);
}

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

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

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

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

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

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

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

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

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

public static void showNotEnoughGoods() {
    Notification.show(BundleUtils.getString("amount.issue.not.enough"), Notification.Type.TRAY_NOTIFICATION);
}

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

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

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

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

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

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

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

public static void showOnlyNumber(String message) {
    Notification.show(BundleUtils.getString("onlyNumber") + " " + (BundleUtils.getString(message)),
            Notification.Type.TRAY_NOTIFICATION);
}