@Override public void publishEvent(final Object payload) { eventBus.publish(this.sender, payload); } }
public RolloutGroupTargetsListHeader(final UIEventBus eventBus, final VaadinMessageSource i18n, final RolloutUIState rolloutUiState) { super(null, rolloutUiState, i18n); this.eventBus = eventBus; eventBus.subscribe(this); }
/** * Gets the scope of the event. * * @return the scope, never {@code null}. */ public EventScope getScope() { return eventBus.getScope(); }
private void invokeAwareInterfaces(Object bean) { if (bean instanceof EventBusAware) { if (bean instanceof EventBusAware.ApplicationEventBusAware) { ((EventBusAware.ApplicationEventBusAware) bean).setApplicationEventBus(this.applicationContext.getBean(EventBus.ApplicationEventBus.class)); } if (bean instanceof EventBusAware.SessionEventBusAware) { ((EventBusAware.SessionEventBusAware) bean).setSessionEventBus(this.applicationContext.getBean(EventBus.SessionEventBus.class)); } if (bean instanceof EventBusAware.UIEventBusAware) { ((EventBusAware.UIEventBusAware) bean).setUIEventBus(this.applicationContext.getBean(EventBus.UIEventBus.class)); } if (bean instanceof EventBusAware.ViewEventBusAware) { ((EventBusAware.ViewEventBusAware) bean).setViewEventBus(this.applicationContext.getBean(EventBus.ViewEventBus.class)); } } } }
@Override protected void onClose(final ClickEvent event) { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUT_GROUPS); }
@Override protected void minimize() { getEventBus().publish(this, ManagementUIEvent.MIN_ACTION_HISTORY); }
@Override public void publishEvent(final ApplicationEvent payload) { eventBus.publish(this.sender, payload); }
public RolloutGroupTargetsListHeader(final UIEventBus eventBus, final VaadinMessageSource i18n, final RolloutUIState rolloutUiState) { super(null, rolloutUiState, i18n); this.eventBus = eventBus; eventBus.subscribe(this); }
/** * Gets the scope of the event. * * @return the scope, never {@code null}. */ public EventScope getScope() { return eventBus.getScope(); }
@Override protected void onClose(final ClickEvent event) { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUT_GROUPS); }
/** * Gets the scope of the event. * * @return the scope, never {@code null}. */ public EventScope getScope() { return eventBus.getScope(); }
@Override protected void onClose(final ClickEvent event) { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUTS); }
@Override protected void onClose(final ClickEvent event) { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUTS); }
@Override protected void minimize() { getEventBus().publish(this, ManagementUIEvent.MIN_ACTION_HISTORY); }
private void showRolloutListView() { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUTS); }
private void showRolloutListView() { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUTS); }
private void showRolloutListView() { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUTS); }
private void showRolloutGroupListView() { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUT_GROUPS); }
private void showRolloutListView() { eventBus.publish(this, RolloutEvent.SHOW_ROLLOUTS); }
private void showCustomFiltersView() { eventBus.publish(this, CustomFilterUIEvent.SHOW_FILTER_MANAGEMENT); }