Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@93419 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-03-21 13:23:26 +00:00 committed by Giancarlo Panichi
parent 3742bdc73f
commit 38f3670ada
1 changed files with 5 additions and 3 deletions

View File

@ -31,14 +31,14 @@ public class TemplateApplyProgressDialog extends Window implements TemplateApply
public static final int STATUS_POLLING_DELAY = 1000; public static final int STATUS_POLLING_DELAY = 1000;
protected String WIDTH = "400px"; protected String WIDTH = "400px";
protected String HEIGHT = "120px"; protected String HEIGHT = "120px";
protected TemplateApplyDialog templateApplyDialog; protected TemplateApplyDialog dialog;
protected EventBus eventBus; protected EventBus eventBus;
protected TemplateApplyProgressUpdater progressUpdater; protected TemplateApplyProgressUpdater progressUpdater;
protected TextButton ok; protected TextButton ok;
protected TRId trId; protected TRId trId;
public TemplateApplyProgressDialog(TemplateApplyDialog templateApplySession, EventBus eventBus) { public TemplateApplyProgressDialog(TemplateApplyDialog dialog, EventBus eventBus) {
this.templateApplyDialog=templateApplySession; this.dialog=dialog;
this.eventBus=eventBus; this.eventBus=eventBus;
setWidth(WIDTH); setWidth(WIDTH);
setHeight(HEIGHT); setHeight(HEIGHT);
@ -115,7 +115,9 @@ public class TemplateApplyProgressDialog extends Window implements TemplateApply
new ChangeTableRequestEvent(ChangeTableRequestType.TEMPLATEAPPLY, trId); new ChangeTableRequestEvent(ChangeTableRequestType.TEMPLATEAPPLY, trId);
eventBus.fireEvent(changeTableRequestEvent); eventBus.fireEvent(changeTableRequestEvent);
} }
dialog.hide();
hide(); hide();
} }
@Override @Override