Updated ProgressBar set Progress 0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget@98793 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
52bfc97113
commit
b08185efc7
|
@ -11,15 +11,15 @@
|
|||
<Software>
|
||||
<Description>tabular-data-sdmx-import-widget allows sdmx import of codelists and dataset</Description>
|
||||
<Name>tabular-data-sdmx-import-widget</Name>
|
||||
<Version>2.0.0-SNAPSHOT</Version>
|
||||
<Version>2.2.0-SNAPSHOT</Version>
|
||||
<MavenCoordinates>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>tabular-data-sdmx-import-widget</artifactId>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<version>2.2.0-SNAPSHOT</version>
|
||||
</MavenCoordinates>
|
||||
<Type>library</Type>
|
||||
<Files>
|
||||
<File>tabular-data-sdmx-import-widget-2.0.0-SNAPSHOT.jar</File>
|
||||
<File>tabular-data-sdmx-import-widget-2.2.0-SNAPSHOT.jar</File>
|
||||
</Files>
|
||||
</Software>
|
||||
</Packages>
|
||||
|
|
|
@ -13,7 +13,7 @@ Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
|
|||
Version and Release Date
|
||||
------------------------
|
||||
|
||||
v. 2.0.0-SNAPSHOT (2013-10-18)
|
||||
v. 2.2.0-SNAPSHOT (2014-06-05)
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
<ReleaseNotes>
|
||||
<Changeset component="org.gcube.portlets.user.tabular-data-sdmx-import-widget.1-0-0"
|
||||
date="2013-10-18">
|
||||
<Changeset component="org.gcube.portlets.user.tabular-data-sdmx-import-widget.2-2-0" date="2014-06-05">
|
||||
<Change>Updated import</Change>
|
||||
<Change>Updated Pom</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets.user.tabular-data-sdmx-import-widget.2-1-0" date="2014-04-04">
|
||||
<Change>Internal registry retrieve fixed</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets.user.tabular-data-sdmx-import-widget.2-0-0" date="2014-02-01">
|
||||
<Change>Updated service client library</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets.user.tabular-data-sdmx-import-widget.1-0-0" date="2013-10-18">
|
||||
<Change>First Release</Change>
|
||||
</Changeset>
|
||||
</ReleaseNotes>
|
|
@ -62,8 +62,7 @@ public class ImportProgressBarUpdater implements OperationProgressListener {
|
|||
@Override
|
||||
public void operationUpdate(float elaborated) {
|
||||
Log.info("Elaborated: "+elaborated);
|
||||
if (elaborated == 0) progressBar.updateProgress(0, "Initializing...");
|
||||
if (elaborated>0 && elaborated<1) {
|
||||
if (elaborated>=0 && elaborated<1) {
|
||||
Log.trace("progress "+elaborated);
|
||||
int elab=new Float(elaborated*100).intValue();
|
||||
progressBar.updateProgress(elaborated,elab+"% Importing...");
|
||||
|
|
Loading…
Reference in New Issue