2014-08-01 19:50:58 +02:00
|
|
|
package org.gcube.portlets.user.td.monitorwidget.client;
|
|
|
|
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
|
|
|
|
2014-08-08 16:39:25 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author "Giancarlo Panichi"
|
|
|
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface MonitorDialogListener {
|
2014-08-01 19:50:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the operation is complete.
|
|
|
|
*/
|
|
|
|
public void operationComplete(TRId trId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the operation is failed.
|
2014-08-08 17:42:20 +02:00
|
|
|
* @param caught
|
|
|
|
* @param reason
|
2014-08-01 19:50:58 +02:00
|
|
|
*/
|
|
|
|
public void operationFailed(Throwable caught, String reason);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the operation is stopped
|
|
|
|
*
|
|
|
|
* @param trId
|
|
|
|
* @param reason
|
|
|
|
* @param details
|
|
|
|
*/
|
|
|
|
public void operationStopped(TRId trId, String reason, String details);
|
|
|
|
|
|
|
|
|
2014-08-08 16:39:25 +02:00
|
|
|
/**
|
|
|
|
* Called when the operation is aborted
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public void operationAborted();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the operation is put in the background
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public void operationPutInBackground();
|
2014-08-01 19:50:58 +02:00
|
|
|
|
|
|
|
}
|