예제 #1
0
 protected void clearWindow() {
   errorOccured = false;
   uploads.removeAllItems();
   setWindowMode(WindowMode.NORMAL);
   setColumnWidth();
   setPopupSizeInMinMode();
   resizeButton.setIcon(FontAwesome.EXPAND);
   this.close();
   artifactUploadState.getUploadedFileStatusList().clear();
   artifactUploadState.getNumberOfFileUploadsFailed().set(0);
 }
예제 #2
0
 void uploadSessionStarted() {
   if (artifactUploadState.getNumberOfFilesActuallyUpload().intValue() == 0
       && artifactUploadState.getNumberOfFileUploadsFailed().intValue() == 0
       && !artifactUploadState.isStatusPopupMinimized()) {
     openWindow();
   }
   if (!uploadAborted) {
     minimizeButton.setEnabled(true);
     closeButton.setEnabled(true);
     artifactUploadState.setUploadCompleted(false);
   }
 }