当前位置: 首页>>代码示例>>Java>>正文


Java EventBus.UIEventBus方法代码示例

本文整理汇总了Java中org.vaadin.spring.events.EventBus.UIEventBus方法的典型用法代码示例。如果您正苦于以下问题:Java EventBus.UIEventBus方法的具体用法?Java EventBus.UIEventBus怎么用?Java EventBus.UIEventBus使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.vaadin.spring.events.EventBus的用法示例。


在下文中一共展示了EventBus.UIEventBus方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: AbstractNotificationView

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
/**
 * Constructor.
 * 
 * @param eventBus
 *            the ui event bus
 * @param notificationUnreadButton
 *            the notificationUnreadButton
 */
public AbstractNotificationView(final EventBus.UIEventBus eventBus,
        final NotificationUnreadButton notificationUnreadButton) {
    this.eventBus = eventBus;
    this.notificationUnreadButton = notificationUnreadButton;
    this.viewUnreadNotifcations = new AtomicInteger(0);
    skipUiEventsCache = CacheBuilder.newBuilder().expireAfterAccess(10, SECONDS).build();
    eventBus.subscribe(this);
}
 
开发者ID:eclipse,项目名称:hawkbit,代码行数:17,代码来源:AbstractNotificationView.java

示例2: getEventBus

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
/**
 * @return the eventBus
 */
public EventBus.UIEventBus getEventBus() {
    return eventBus;
}
 
开发者ID:eclipse,项目名称:hawkbit,代码行数:7,代码来源:TargetBulkUpdateWindowLayout.java

示例3: getEventBus

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
public EventBus.UIEventBus getEventBus() {
    return eventBus;
}
 
开发者ID:eclipse,项目名称:hawkbit,代码行数:4,代码来源:AbstractNotificationView.java

示例4: AutowiredPresenter

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
@Autowired
public AutowiredPresenter(FooView view, EventBus.UIEventBus eventBus) {
    super(view, eventBus);
}
 
开发者ID:peholmst,项目名称:vaadin4spring,代码行数:5,代码来源:AutowiredPresenter.java

示例5: proxiedUiEventBus

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
@Bean
@Scope(value = UIScopeImpl.VAADIN_UI_SCOPE_NAME, proxyMode = ScopedProxyMode.INTERFACES)
@EventBusProxy
EventBus.UIEventBus proxiedUiEventBus() {
    return uiEventBus();
}
 
开发者ID:peholmst,项目名称:vaadin4spring,代码行数:7,代码来源:EventBusConfiguration.java

示例6: uiEventBus

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
@Bean
@Scope(value = UIScopeImpl.VAADIN_UI_SCOPE_NAME, proxyMode = ScopedProxyMode.NO)
@Primary
EventBus.UIEventBus uiEventBus() {
    return new ScopedEventBus.DefaultUIEventBus(sessionEventBus());
}
 
开发者ID:peholmst,项目名称:vaadin4spring,代码行数:7,代码来源:EventBusConfiguration.java

示例7: UploadResultWindow

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
/**
 * Initialize upload status popup.
 * 
 * @param uploadResultList
 *            upload status details
 * @param i18n
 *            I18N
 */
UploadResultWindow(final List<UploadStatus> uploadResultList, final VaadinMessageSource i18n, final EventBus.UIEventBus eventBus) {
    this.uploadResultList = uploadResultList;
    this.i18n = i18n;
    this.eventBus = eventBus;
    createComponents();
    createLayout();
}
 
开发者ID:eclipse,项目名称:hawkbit,代码行数:16,代码来源:UploadResultWindow.java

示例8: SoftwareModuleDetailsTable

import org.vaadin.spring.events.EventBus; //导入方法依赖的package包/类
/**
 * Initialize software module table- to be displayed in details layout.
 * 
 * @param i18n
 *            I18N
 * @param isUnassignSoftModAllowed
 *            boolean flag to check for unassign functionality allowed for
 *            the view.
 * @param distributionSetManagement
 *            DistributionSetManagement
 * @param permissionChecker
 *            SpPermissionChecker
 * @param eventBus
 *            SessionEventBus
 * @param manageDistUIState
 *            ManageDistUIState
 * @param uiNotification
 *            UINotification for displaying error and success notifications
 */
public SoftwareModuleDetailsTable(final VaadinMessageSource i18n, final boolean isUnassignSoftModAllowed,
        final SpPermissionChecker permissionChecker, final DistributionSetManagement distributionSetManagement,
        final EventBus.UIEventBus eventBus, final ManageDistUIState manageDistUIState,
        final UINotification uiNotification) {
    this.i18n = i18n;
    this.isUnassignSoftModAllowed = isUnassignSoftModAllowed;
    this.permissionChecker = permissionChecker;
    this.distributionSetManagement = distributionSetManagement;
    this.manageDistUIState = manageDistUIState;
    this.eventBus = eventBus;
    this.uiNotification = uiNotification;
    createSwModuleTable();
}
 
开发者ID:eclipse,项目名称:hawkbit,代码行数:33,代码来源:SoftwareModuleDetailsTable.java


注:本文中的org.vaadin.spring.events.EventBus.UIEventBus方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。