Removed uiNotification

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
This commit is contained in:
Jonathan Philip Knoblauch
2016-08-03 17:51:52 +02:00
parent 43f71cc976
commit 5beb10b8db
2 changed files with 3 additions and 8 deletions

View File

@@ -44,7 +44,6 @@ import org.eclipse.hawkbit.ui.utils.HawkbitCommonUtil;
import org.eclipse.hawkbit.ui.utils.I18N;
import org.eclipse.hawkbit.ui.utils.SPUILabelDefinitions;
import org.eclipse.hawkbit.ui.utils.SpringContextHelper;
import org.eclipse.hawkbit.ui.utils.UINotification;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.vaadin.spring.events.EventBus;
@@ -85,8 +84,6 @@ public class BulkUploadHandler extends CustomComponent
private final transient DeploymentManagement deploymentManagement;
private final transient DistributionSetManagement distributionSetManagement;
private final UINotification uINotification;
protected File tempFile = null;
private Upload upload;
@@ -101,7 +98,7 @@ public class BulkUploadHandler extends CustomComponent
private final transient Executor executor;
private transient EventBus.SessionEventBus eventBus;
TargetBulkUpdateWindowLayout targetBulkUpdateWindowLayout;
private final TargetBulkUpdateWindowLayout targetBulkUpdateWindowLayout;
private transient EntityFactory entityFactory;
@@ -111,12 +108,11 @@ public class BulkUploadHandler extends CustomComponent
* @param targetManagement
* @param managementUIState
* @param deploymentManagement
* @param uINotification
* @param i18n
*/
public BulkUploadHandler(final TargetBulkUpdateWindowLayout targetBulkUpdateWindowLayout,
final TargetManagement targetManagement, final ManagementUIState managementUIState,
final DeploymentManagement deploymentManagement, final UINotification uINotification, final I18N i18n) {
final DeploymentManagement deploymentManagement, final I18N i18n) {
this.targetBulkUpdateWindowLayout = targetBulkUpdateWindowLayout;
this.comboBox = targetBulkUpdateWindowLayout.getDsNamecomboBox();
this.descTextArea = targetBulkUpdateWindowLayout.getDescTextArea();
@@ -124,7 +120,6 @@ public class BulkUploadHandler extends CustomComponent
this.progressBar = targetBulkUpdateWindowLayout.getProgressBar();
this.managementUIState = managementUIState;
this.deploymentManagement = deploymentManagement;
this.uINotification = uINotification;
this.targetsCountLabel = targetBulkUpdateWindowLayout.getTargetsCountLabel();
this.targetBulkTokenTags = targetBulkUpdateWindowLayout.getTargetBulkTokenTags();
this.i18n = i18n;

View File

@@ -178,7 +178,7 @@ public class TargetBulkUpdateWindowLayout extends CustomComponent {
private BulkUploadHandler getBulkUploadHandler() {
final BulkUploadHandler bulkUploadHandler = new BulkUploadHandler(this, targetManagement, managementUIState,
deploymentManagement, uINotification, i18n);
deploymentManagement, i18n);
bulkUploadHandler.buildLayout();
bulkUploadHandler.addStyleName(SPUIStyleDefinitions.BULK_UPLOAD_BUTTON);
return bulkUploadHandler;