List of usage examples for com.vaadin.ui Notification show
public static Notification show(String caption, Type type)
From source file:com.cms.utils.CommonMessages.java
public static void showMessageUpdateSuccess(String message) { Notification.show( BundleUtils.getString("common.update.sucessfully") + " " + (BundleUtils.getString(message)), Notification.Type.HUMANIZED_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showMessageCoppySuccess(String message) { Notification.show(BundleUtils.getString("common.copy.sucessfully") + " " + (BundleUtils.getString(message)), Notification.Type.HUMANIZED_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showMessageDeleteSuccess(String message) { Notification.show( BundleUtils.getString("common.delete.sucessfully") + " " + (BundleUtils.getString(message)), Notification.Type.HUMANIZED_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showMessageImportSuccess(String message) { Notification.show( BundleUtils.getString("common.import.sucessfully") + " " + (BundleUtils.getString(message)), Notification.Type.HUMANIZED_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showMessageImportSuccess(String message, int quantity) { Notification.show( BundleUtils.getString("common.import.sucessfully.quantity").replace("@q", String.valueOf(quantity)) + " " + (BundleUtils.getString(message)), Notification.Type.HUMANIZED_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showMessageExportSuccess(String message) { Notification.show( BundleUtils.getString("common.export.sucessfully") + " " + (BundleUtils.getString(message)), Notification.Type.HUMANIZED_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showMessageRequired(String message) { Notification.show(BundleUtils.getString("common.input.required") + " " + (BundleUtils.getString(message)), Notification.Type.WARNING_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showOnlyNegativeNumber(String message) { Notification.show(BundleUtils.getString("onlyNegativeNumber") + " " + (BundleUtils.getString(message)), Notification.Type.WARNING_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showFomatSizePacking() { Notification.show(BundleUtils.getString("error.number.fomatpacksize"), Notification.Type.WARNING_MESSAGE); }
From source file:com.cms.utils.CommonMessages.java
public static void showCompareVolume() { Notification.show(BundleUtils.getString("compareVolume"), Notification.Type.WARNING_MESSAGE); }