Search in sources :

Example 1 with ScreenContext

use of com.haulmont.cuba.gui.screen.ScreenContext in project cuba by cuba-platform.

the class WebAbstractTable method showParseErrorNotification.

protected void showParseErrorNotification(String message) {
    ScreenContext screenContext = UiControllerUtils.getScreenContext(getFrame().getFrameOwner());
    screenContext.getNotifications().create(Notifications.NotificationType.TRAY).withDescription(message).show();
}
Also used : ScreenContext(com.haulmont.cuba.gui.screen.ScreenContext)

Aggregations

ScreenContext (com.haulmont.cuba.gui.screen.ScreenContext)1