2014-06-03 16:33:12 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.portlets.user.td.codelistmappingimportwidget.client.progress;
|
|
|
|
|
|
|
|
|
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2018-06-27 14:28:07 +02:00
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
2014-06-03 16:33:12 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class FileUploadProgressCardUpdater implements FileUploadProgressListener {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public FileUploadProgressCardUpdater() {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void operationComplete() {
|
|
|
|
Log.info("File upload completed");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* {@inheritDoc}
|
|
|
|
*/
|
|
|
|
public void operationFailed(Throwable caught, String reason, String failureDetails) {
|
|
|
|
Log.info("File upload failed");
|
|
|
|
}
|
|
|
|
|
|
|
|
public void operationInitializing() {
|
|
|
|
Log.info("File upload inizializing");
|
|
|
|
}
|
|
|
|
|
|
|
|
public void operationUpdate(float elaborated) {
|
|
|
|
Log.info("File uploading: "+elaborated);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|