Updated Task in background

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@99769 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-09-11 16:38:27 +00:00 committed by Giancarlo Panichi
parent abcb30817c
commit 1bd1f9e70f
2 changed files with 13 additions and 1 deletions

View File

@ -18,6 +18,12 @@ public interface WizardListener {
* Called when the wizard is completed without errors
*/
public void completed(TRId id);
/**
* Called when the operation is put in background
*/
public void putInBackground();
/**
* Called when the wizard has been aborted by the user.

View File

@ -470,7 +470,13 @@ public class WizardWindow extends Window {
for (WizardListener listener : listeners)
listener.completed(id);
}
public void firePutInBackground() {
for (WizardListener listener : listeners)
listener.putInBackground();
}
public void fireAborted() {
for (WizardListener listener : listeners)
listener.aborted();