protected void showNoDataWarning() { notifications.create(NotificationType.WARNING) .withCaption(messages.getMainMessage("warningNotification.caption")) .withPosition(Notifications.Position.MIDDLE_CENTER) .show(); }
protected void showWarnNotification() { notifications.create(NotificationType.WARNING) .withCaption(messages.getMainMessage("actions.warningExport.title")) .withDescription(messages.getMainMessage("actions.warningExport.message")) .withPosition(Notifications.Position.MIDDLE_CENTER) .show(); }