getWindow().showNotification(title, String.format("<br/>%s", message), Notification.TYPE_WARNING_MESSAGE);
}
private void addCrossPlatformShortcut(Button button, int key, String description) {
// ACE-427 - NPE when using getMainWindow() if no authentication is used...
WebApplicationContext context = (WebApplicationContext) getApplication().getContext();
ShortcutHelper.addCrossPlatformShortcut(context.getBrowser(), button, description, key);
}