tabular-data-sdmx-export-wi.../src/main/java/org/gcube/portlets/user/sdmxexportwizardtd/client/general/WizardListener.java

37 lines
805 B
Java

/**
*
*/
package org.gcube.portlets.user.sdmxexportwizardtd.client.general;
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
/**
*
* @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);
}