private final NotificationsView view;
private final EventBus bus = CommonGlobals.getInstance().getEventBus();
public NotificationsPresenter(NotificationsView notifView) {
this.view = notifView;
bus.addHandler(NotificationEvent.TYPE, new NotificationHandler() {
@Override
public void onEvent(NotificationEvent event) {
String colorCss = view.getColorCss(event.getLevel().name());
String message = event.getMessage();
Throwable error = event.getError();