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:
parent
abcb30817c
commit
1bd1f9e70f
|
@ -18,6 +18,12 @@ public interface WizardListener {
|
||||||
* Called when the wizard is completed without errors
|
* Called when the wizard is completed without errors
|
||||||
*/
|
*/
|
||||||
public void completed(TRId id);
|
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.
|
* Called when the wizard has been aborted by the user.
|
||||||
|
|
|
@ -470,7 +470,13 @@ public class WizardWindow extends Window {
|
||||||
for (WizardListener listener : listeners)
|
for (WizardListener listener : listeners)
|
||||||
listener.completed(id);
|
listener.completed(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void firePutInBackground() {
|
||||||
|
for (WizardListener listener : listeners)
|
||||||
|
listener.putInBackground();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public void fireAborted() {
|
public void fireAborted() {
|
||||||
for (WizardListener listener : listeners)
|
for (WizardListener listener : listeners)
|
||||||
listener.aborted();
|
listener.aborted();
|
||||||
|
|
Loading…
Reference in New Issue