From 2c55e80154fb56bb8bd74fcaca103101cca38500 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 25 Jun 2014 10:34:34 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@97753 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/ExtractCodelistOperationInProgressCard.java | 3 ++- .../client/progress/ExtractCodelistProgressBarUpdater.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 a3a51ae..cddf479 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 @@ -133,7 +133,8 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement @Override public void operationComplete(final TRId trId) { summary.setVisible(true); - + forceLayout(); + Command sayComplete = new Command() { public void execute() { try { diff --git a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/progress/ExtractCodelistProgressBarUpdater.java b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/progress/ExtractCodelistProgressBarUpdater.java index 1454c43..cea14be 100644 --- a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/progress/ExtractCodelistProgressBarUpdater.java +++ b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/progress/ExtractCodelistProgressBarUpdater.java @@ -64,7 +64,7 @@ public class ExtractCodelistProgressBarUpdater implements ExtractCodelistProgres int elab=new Float(elaborated*100).intValue(); progressBar.updateProgress(elaborated,elab+"% Progress..."); } - if (elaborated == 1) progressBar.updateProgress(1, "Completing..."); + if (elaborated == 1) progressBar.updateProgress(1, "Completed"); }