2013-10-29 13:05:16 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.portlets.user.td.wizardwidget.client;
|
|
|
|
|
2013-12-05 15:14:42 +01:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
2013-10-29 13:05:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author "Giancarlo Panichi"
|
|
|
|
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface WizardListener {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the wizard is completed without errors
|
|
|
|
*/
|
|
|
|
public void completed(TRId id);
|
2014-09-11 18:38:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the operation is put in background
|
|
|
|
*/
|
|
|
|
public void putInBackground();
|
2013-10-29 13:05:16 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the wizard has been aborted by the user.
|
|
|
|
*/
|
|
|
|
public void aborted();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the something in the wizard is failed.
|
2014-12-04 18:07:10 +01:00
|
|
|
* @param title
|
|
|
|
* @param message the failure reason.
|
|
|
|
* @param details the failure details.
|
|
|
|
* @param throwable the exception.
|
2013-10-29 13:05:16 +01:00
|
|
|
*/
|
2014-12-04 18:07:10 +01:00
|
|
|
public void failed(String title, String message, String details, Throwable throwable);
|
2013-10-29 13:05:16 +01:00
|
|
|
|
|
|
|
}
|