From 7e0a0e29eb2f57dca22a100a2289af643c75f668 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 25 Jun 2014 10:50:16 +0000 Subject: [PATCH] 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 --- .../client/ExtractCodelistOperationInProgressCard.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java index cddf479..c5a5b6a 100644 --- a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java +++ b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/ExtractCodelistOperationInProgressCard.java @@ -43,6 +43,8 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement protected ExtractCodelistProgressUpdater progressUpdater; protected final FlexTable description; protected final FramedPanel summary; + protected final ProgressBar progressBar; + public ExtractCodelistOperationInProgressCard(final ExtractCodelistSession extractCodelistSession) { super("Operation In Progress", ""); @@ -52,7 +54,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement VBoxLayoutContainer operationInProgressPanel = new VBoxLayoutContainer(); operationInProgressPanel.setVBoxLayoutAlign(VBoxLayoutAlign.CENTER); - ProgressBar progressBar = new ProgressBar(); + progressBar = new ProgressBar(); operationInProgressPanel.add(progressBar, new BoxLayoutData( new Margins(10, 30, 10, 5))); @@ -133,6 +135,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement @Override public void operationComplete(final TRId trId) { summary.setVisible(true); + progressBar.setVisible(false); forceLayout(); Command sayComplete = new Command() {