statusTotalCountMap) {
+ Long total = 0L;
+ for (Long value : statusTotalCountMap.values()) {
+ total = total + value;
+ }
+ return total;
+ }
+
+ private static String getParentDivStart() {
+ return "";
+ }
+
+ private static String getParentDivEnd() {
+ return "
";
+ }
+
+}
diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/rollout/RolloutGroupListTable.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/rollout/RolloutGroupListTable.java
deleted file mode 100644
index cf1a004d8..000000000
--- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/rollout/RolloutGroupListTable.java
+++ /dev/null
@@ -1,361 +0,0 @@
-/**
- * Copyright (c) 2015 Bosch Software Innovations GmbH and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- */
-package org.eclipse.hawkbit.ui.rollout;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.annotation.PostConstruct;
-import javax.annotation.PreDestroy;
-
-import org.eclipse.hawkbit.eventbus.event.RolloutGroupChangeEvent;
-import org.eclipse.hawkbit.repository.RolloutGroupManagement;
-import org.eclipse.hawkbit.repository.RolloutManagement;
-import org.eclipse.hawkbit.repository.SpPermissionChecker;
-import org.eclipse.hawkbit.repository.model.RolloutGroup;
-import org.eclipse.hawkbit.repository.model.RolloutGroup.RolloutGroupStatus;
-import org.eclipse.hawkbit.repository.model.TotalTargetCountStatus;
-import org.eclipse.hawkbit.ui.components.SPUIComponentProvider;
-import org.eclipse.hawkbit.ui.decorators.SPUIButtonStyleSmallNoBorder;
-import org.eclipse.hawkbit.ui.rollout.event.RolloutEvent;
-import org.eclipse.hawkbit.ui.rollout.state.RolloutUIState;
-import org.eclipse.hawkbit.ui.utils.HawkbitCommonUtil;
-import org.eclipse.hawkbit.ui.utils.I18N;
-import org.eclipse.hawkbit.ui.utils.SPUIComponetIdProvider;
-import org.eclipse.hawkbit.ui.utils.SPUIDefinitions;
-import org.eclipse.hawkbit.ui.utils.SPUILabelDefinitions;
-import org.eclipse.hawkbit.ui.utils.TableColumn;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.vaadin.addons.lazyquerycontainer.BeanQueryFactory;
-import org.vaadin.addons.lazyquerycontainer.LazyQueryContainer;
-import org.vaadin.addons.lazyquerycontainer.LazyQueryDefinition;
-import org.vaadin.alump.distributionbar.DistributionBar;
-import org.vaadin.spring.events.EventBus;
-import org.vaadin.spring.events.EventScope;
-import org.vaadin.spring.events.annotation.EventBusListenerMethod;
-
-import com.vaadin.data.Container;
-import com.vaadin.data.Item;
-import com.vaadin.data.Property;
-import com.vaadin.server.FontAwesome;
-import com.vaadin.shared.ui.label.ContentMode;
-import com.vaadin.spring.annotation.SpringComponent;
-import com.vaadin.spring.annotation.ViewScope;
-import com.vaadin.ui.Button;
-import com.vaadin.ui.Component;
-import com.vaadin.ui.Label;
-import com.vaadin.ui.themes.ValoTheme;
-
-/**
- * Rollout Group Table in List view.
- *
- */
-@SpringComponent
-@ViewScope
-public class RolloutGroupListTable extends AbstractSimpleTable {
-
- private static final String IS_ACTION_RECIEVED = "isActionRecieved";
-
- private static final long serialVersionUID = 1182656768844867443L;
-
- @Autowired
- private I18N i18n;
-
- @Autowired
- private transient EventBus.SessionEventBus eventBus;
-
- @Autowired
- private transient RolloutGroupManagement rolloutGroupManagement;
-
- @Autowired
- private transient RolloutManagement rolloutManagement;
-
- @Autowired
- private transient RolloutUIState rolloutUIState;
-
- @Autowired
- private transient SpPermissionChecker permissionChecker;
-
- @Override
- @PostConstruct
- protected void init() {
- super.init();
- eventBus.subscribe(this);
- }
-
- @PreDestroy
- void destroy() {
- eventBus.unsubscribe(this);
- }
-
- @EventBusListenerMethod(scope = EventScope.SESSION)
- void onEvent(final RolloutEvent event) {
- if (event == RolloutEvent.SHOW_ROLLOUT_GROUPS) {
- ((LazyQueryContainer) getContainerDataSource()).refresh();
- }
- }
-
- /**
- *
- * Handles the RolloutGroupChangeEvent to refresh the item in the table.
- *
- *
- * @param rolloutGroupChangeEvent
- * the event which contains the rollout group which has been
- * change
- */
- @EventBusListenerMethod(scope = EventScope.SESSION)
- public void onEvent(final RolloutGroupChangeEvent rolloutGroupChangeEvent) {
- final List