tabular-data-open-widget/src/main/java/org/gcube/portlets/user/td/openwidget/client/general/WizardListener.java

37 lines
828 B
Java

/**
*
*/
package org.gcube.portlets.user.td.openwidget.client.general;
import org.gcube.portlets.user.td.gwtservice.shared.tr.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
* and return TableId
*/
public void completed(TRId trId);
/**
* 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);
}