2013-10-29 13:05:16 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.portlets.user.td.wizardwidget.client;
|
|
|
|
|
2013-11-21 10:26:35 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.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);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the wizard has been aborted by the user.
|
|
|
|
*/
|
|
|
|
public void aborted();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when the something in the wizard is failed.
|
|
|
|
* @param throwable the exception or <code>null</code>.
|
|
|
|
* @param reason the failure reason or <code>null</code>.
|
|
|
|
* @param details the failure details or <code>null</code>.
|
|
|
|
*/
|
|
|
|
public void failed(Throwable throwable, String reason, String details);
|
|
|
|
|
|
|
|
}
|