class SessionPresenterView extends Composite implements SessionPresenter.View {

    @Override
    public SessionPresenter.View showWarning(final String message) {
        singleNotify(() -> {
            getSettings().setType(kieNotificationCssClass(NotifyType.WARNING));
            showNotification(translate(SessionPresenterView_Warning),
                             message,
                             IconType.EXCLAMATION_TRIANGLE);
        });
        return this;
    }

}