Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@97756 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-06-25 10:50:16 +00:00
parent e3683cfd43
commit 7e0a0e29eb
1 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,8 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
protected ExtractCodelistProgressUpdater progressUpdater; protected ExtractCodelistProgressUpdater progressUpdater;
protected final FlexTable description; protected final FlexTable description;
protected final FramedPanel summary; protected final FramedPanel summary;
protected final ProgressBar progressBar;
public ExtractCodelistOperationInProgressCard(final ExtractCodelistSession extractCodelistSession) { public ExtractCodelistOperationInProgressCard(final ExtractCodelistSession extractCodelistSession) {
super("Operation In Progress", ""); super("Operation In Progress", "");
@ -52,7 +54,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
VBoxLayoutContainer operationInProgressPanel = new VBoxLayoutContainer(); VBoxLayoutContainer operationInProgressPanel = new VBoxLayoutContainer();
operationInProgressPanel.setVBoxLayoutAlign(VBoxLayoutAlign.CENTER); operationInProgressPanel.setVBoxLayoutAlign(VBoxLayoutAlign.CENTER);
ProgressBar progressBar = new ProgressBar(); progressBar = new ProgressBar();
operationInProgressPanel.add(progressBar, new BoxLayoutData( operationInProgressPanel.add(progressBar, new BoxLayoutData(
new Margins(10, 30, 10, 5))); new Margins(10, 30, 10, 5)));
@ -133,6 +135,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
@Override @Override
public void operationComplete(final TRId trId) { public void operationComplete(final TRId trId) {
summary.setVisible(true); summary.setVisible(true);
progressBar.setVisible(false);
forceLayout(); forceLayout();
Command sayComplete = new Command() { Command sayComplete = new Command() {