diff --git a/hawkbit-custom-theme-example/src/main/java/org/eclipse/hawkbit/app/MyUI.java b/hawkbit-custom-theme-example/src/main/java/org/eclipse/hawkbit/app/MyUI.java index 8e4b1b7..6185945 100644 --- a/hawkbit-custom-theme-example/src/main/java/org/eclipse/hawkbit/app/MyUI.java +++ b/hawkbit-custom-theme-example/src/main/java/org/eclipse/hawkbit/app/MyUI.java @@ -11,6 +11,7 @@ import org.eclipse.hawkbit.ui.AbstractHawkbitUI; import org.eclipse.hawkbit.ui.ErrorView; import org.eclipse.hawkbit.ui.UiProperties; +import org.eclipse.hawkbit.ui.components.ConditionalUiErrorHandler; import org.eclipse.hawkbit.ui.components.NotificationUnreadButton; import org.eclipse.hawkbit.ui.menu.DashboardMenu; import org.eclipse.hawkbit.ui.push.EventPushStrategy; @@ -28,6 +29,8 @@ import com.vaadin.spring.annotation.SpringUI; import com.vaadin.spring.navigator.SpringViewProvider; +import java.util.List; + /** * Example hawkBit UI implementation. * @@ -46,11 +49,12 @@ public class MyUI extends AbstractHawkbitUI { private static final long serialVersionUID = 1L; @Autowired - MyUI(final EventPushStrategy pushStrategy, final UIEventBus eventBus, final UIEventProvider eventProvider, final SpringViewProvider viewProvider, - final ApplicationContext context, final DashboardMenu dashboardMenu, final ErrorView errorview, - final NotificationUnreadButton notificationUnreadButton, final UiProperties uiProperties, - final VaadinMessageSource i18n) { - super(pushStrategy, eventBus, eventProvider, viewProvider, context, dashboardMenu, errorview, notificationUnreadButton, - uiProperties, i18n); + MyUI(final EventPushStrategy pushStrategy, final UIEventBus eventBus, final UIEventProvider eventProvider, + final SpringViewProvider viewProvider, final ApplicationContext context, final DashboardMenu dashboardMenu, + final ErrorView errorview, final NotificationUnreadButton notificationUnreadButton, + final UiProperties uiProperties, final VaadinMessageSource i18n, + final List uiErrorHandler) { + super(pushStrategy, eventBus, eventProvider, viewProvider, context, dashboardMenu, errorview, + notificationUnreadButton, uiProperties, i18n, uiErrorHandler); } }