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

34 lines
752 B
Java

/**
*
*/
package org.gcube.portlets.user.sdmximportwizardtd.client.general;
import org.gcube.portlets.user.td.gxtservice.shared.TRId;
/**
* @author "Federico De Faveri defaveri@isti.cnr.it"
*
*/
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);
}