Updated to JAVA 7
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-export-widget@86989 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e817f3f150
commit
76ee39e5c2
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/tabular-data-sdmx-export-widget-1.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry excluding="**" kind="src" output="target/tabular-data-sdmx-export-widget-1.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/tabular-data-sdmx-export-widget-1.0.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
</classpath>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>tabular-data-sdmx-export-widget</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -0,0 +1,6 @@
|
|||
eclipse.preferences.version=1
|
||||
encoding//src/main/java=UTF-8
|
||||
encoding//src/main/resources=UTF-8
|
||||
encoding//src/test/java=UTF-8
|
||||
encoding//src/test/resources=UTF-8
|
||||
encoding/<project>=UTF-8
|
|
@ -0,0 +1,8 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||
org.eclipse.jdt.core.compiler.source=1.5
|
|
@ -0,0 +1,4 @@
|
|||
activeProfiles=
|
||||
eclipse.preferences.version=1
|
||||
resolveWorkspaceProjects=true
|
||||
version=1
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="tabular-data-sdmx-export-widget">
|
||||
<wb-resource deploy-path="/" source-path="/src/main/java"/>
|
||||
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<installed facet="jst.utility" version="1.0"/>
|
||||
<installed facet="java" version="1.5"/>
|
||||
</faceted-project>
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Resource>
|
||||
<ID></ID>
|
||||
<Type>Service</Type>
|
||||
<Profile>
|
||||
<Description>tabular-data-sdmx-export-widget allows sdmx export of codelists and dataset</Description>
|
||||
<Class>PortletsUser</Class>
|
||||
<Name>tabular-data-sdmx-export-widget</Name>
|
||||
<Version>1.0.0</Version>
|
||||
<Packages>
|
||||
<Software>
|
||||
<Description>tabular-data-sdmx-export-widget allows sdmx export of codelists and dataset</Description>
|
||||
<Name>tabular-data-sdmx-export-widget</Name>
|
||||
<Version>1.0.0-SNAPSHOT</Version>
|
||||
<MavenCoordinates>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>tabular-data-sdmx-export-widget</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</MavenCoordinates>
|
||||
<Type>library</Type>
|
||||
<Files>
|
||||
<File>tabular-data-sdmx-export-widget-1.0.0-SNAPSHOT.jar</File>
|
||||
</Files>
|
||||
</Software>
|
||||
</Packages>
|
||||
</Profile>
|
||||
</Resource>
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
gCube System - License
|
||||
------------------------------------------------------------
|
||||
|
||||
The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl).
|
||||
The software and documentation is provided by its authors/distributors "as is" and no expressed or
|
||||
implied warranty is given for its use, quality or fitness for a particular case.
|
|
@ -0,0 +1 @@
|
|||
Giancarlo Panichi (giancarlo.panichi@isti.cnr.it), CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
|
|
@ -0,0 +1,40 @@
|
|||
The gCube System - tabular-data-sdmx-export-widget
|
||||
------------------------------------------------------------
|
||||
|
||||
This work has been supported by the following European projects: iMarine (FP7-INFRASTRUCTURES-2011-2)
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
Giancarlo Panichi (giancarlo.panichi@isti.cnr.it), CNR Pisa,
|
||||
Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
|
||||
|
||||
|
||||
Version and Release Date
|
||||
------------------------
|
||||
|
||||
v. 1.0.0-SNAPSHOT (2013-10-18)
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
tabular-data-sdmx-export-widget allows sdmx export of codelists and dataset
|
||||
|
||||
Download information
|
||||
--------------------
|
||||
Source code URL: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-export-widget
|
||||
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
tabular-data-sdmx-export-widget allows sdmx export of codelists and dataset
|
||||
|
||||
|
||||
Licensing
|
||||
---------
|
||||
|
||||
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<ReleaseNotes>
|
||||
<Changeset component="org.gcube.portlets.user.tabular-data-sdmx-export-widget.1-0-0"
|
||||
date="2013-10-18">
|
||||
<Change>First Release</Change>
|
||||
</Changeset>
|
||||
</ReleaseNotes>
|
|
@ -0,0 +1 @@
|
|||
https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-export-widget
|
|
@ -101,7 +101,7 @@ public class AgenciesSelectionPanel extends ContentPanel implements HasSelection
|
|||
|
||||
searchField.addKeyUpHandler(new KeyUpHandler() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onKeyUp(KeyUpEvent event) {
|
||||
Log.trace("searchTerm: "+searchField.getCurrentValue());
|
||||
store.applyFilters();
|
||||
|
@ -110,7 +110,6 @@ public class AgenciesSelectionPanel extends ContentPanel implements HasSelection
|
|||
|
||||
store.addFilter(new StoreFilter<Agencies>() {
|
||||
|
||||
@Override
|
||||
public boolean select(Store<Agencies> store, Agencies parent, Agencies item) {
|
||||
String searchTerm = searchField.getCurrentValue();
|
||||
if (searchTerm == null) return true;
|
||||
|
@ -137,7 +136,6 @@ public class AgenciesSelectionPanel extends ContentPanel implements HasSelection
|
|||
protected void onAfterFirstAttach() {
|
||||
super.onAfterFirstAttach();
|
||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||
@Override
|
||||
public void execute() {
|
||||
loader.load();
|
||||
}
|
||||
|
@ -157,7 +155,6 @@ public class AgenciesSelectionPanel extends ContentPanel implements HasSelection
|
|||
grid.setColumnReordering(true);
|
||||
|
||||
SelectHandler sh = new SelectHandler() {
|
||||
@Override
|
||||
public void onSelect(SelectEvent event) {
|
||||
loader.load();
|
||||
}
|
||||
|
@ -184,12 +181,10 @@ public class AgenciesSelectionPanel extends ContentPanel implements HasSelection
|
|||
protected void loadData(ListLoadConfig loadConfig, final AsyncCallback<ListLoadResult<Agencies>> callback) {
|
||||
TDGWTServiceAsync.INSTANCE.getAgencies(new AsyncCallback<ArrayList<Agencies>>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
callback.onFailure(caught);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(ArrayList<Agencies> result) {
|
||||
Log.trace("loaded "+result.size()+" agencies");
|
||||
callback.onSuccess(new ListLoadResultBean<Agencies>(result));
|
||||
|
@ -198,7 +193,6 @@ public class AgenciesSelectionPanel extends ContentPanel implements HasSelection
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public HandlerRegistration addSelectionHandler(SelectionHandler<Agencies> handler) {
|
||||
return grid.getSelectionModel().addSelectionHandler(handler);
|
||||
}
|
||||
|
|
|
@ -102,7 +102,6 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
|
||||
searchField.addKeyUpHandler(new KeyUpHandler() {
|
||||
|
||||
@Override
|
||||
public void onKeyUp(KeyUpEvent event) {
|
||||
Log.trace("searchTerm: "+searchField.getCurrentValue());
|
||||
store.applyFilters();
|
||||
|
@ -111,7 +110,6 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
|
||||
store.addFilter(new StoreFilter<Codelist>() {
|
||||
|
||||
@Override
|
||||
public boolean select(Store<Codelist> store, Codelist parent, Codelist item) {
|
||||
String searchTerm = searchField.getCurrentValue();
|
||||
if (searchTerm == null) return true;
|
||||
|
@ -134,11 +132,10 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
loader.addLoadHandler(new LoadResultListStoreBinding<ListLoadConfig, Codelist, ListLoadResult<Codelist>>(store));
|
||||
|
||||
grid = new Grid<Codelist>(store, cm){
|
||||
@Override
|
||||
|
||||
protected void onAfterFirstAttach() {
|
||||
super.onAfterFirstAttach();
|
||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||
@Override
|
||||
public void execute() {
|
||||
loader.load();
|
||||
}
|
||||
|
@ -158,7 +155,6 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
grid.setColumnReordering(true);
|
||||
|
||||
SelectHandler sh = new SelectHandler() {
|
||||
@Override
|
||||
public void onSelect(SelectEvent event) {
|
||||
loader.load();
|
||||
}
|
||||
|
@ -187,12 +183,10 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
protected void loadData(ListLoadConfig loadConfig, final AsyncCallback<ListLoadResult<Codelist>> callback) {
|
||||
TDGWTServiceAsync.INSTANCE.getCodelists(new AsyncCallback<ArrayList<Codelist>>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
callback.onFailure(caught);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(ArrayList<Codelist> result) {
|
||||
Log.trace("loaded "+result.size()+" codelists");
|
||||
callback.onSuccess(new ListLoadResultBean<Codelist>(result));
|
||||
|
@ -201,7 +195,6 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public HandlerRegistration addSelectionHandler(SelectionHandler<Codelist> handler) {
|
||||
return grid.getSelectionModel().addSelectionHandler(handler);
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ public class DatasetSelectionPanel extends ContentPanel implements HasSelectionH
|
|||
|
||||
searchField.addKeyUpHandler(new KeyUpHandler() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onKeyUp(KeyUpEvent event) {
|
||||
Log.trace("searchTerm: "+searchField.getCurrentValue());
|
||||
store.applyFilters();
|
||||
|
@ -96,7 +96,6 @@ public class DatasetSelectionPanel extends ContentPanel implements HasSelectionH
|
|||
|
||||
store.addFilter(new StoreFilter<Dataset>() {
|
||||
|
||||
@Override
|
||||
public boolean select(Store<Dataset> store, Dataset parent, Dataset item) {
|
||||
String searchTerm = searchField.getCurrentValue();
|
||||
if (searchTerm == null) return true;
|
||||
|
@ -119,11 +118,10 @@ public class DatasetSelectionPanel extends ContentPanel implements HasSelectionH
|
|||
loader.addLoadHandler(new LoadResultListStoreBinding<ListLoadConfig, Dataset, ListLoadResult<Dataset>>(store));
|
||||
|
||||
grid = new Grid<Dataset>(store, cm){
|
||||
@Override
|
||||
|
||||
protected void onAfterFirstAttach() {
|
||||
super.onAfterFirstAttach();
|
||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||
@Override
|
||||
public void execute() {
|
||||
loader.load();
|
||||
}
|
||||
|
@ -161,12 +159,10 @@ public class DatasetSelectionPanel extends ContentPanel implements HasSelectionH
|
|||
protected void loadData(ListLoadConfig loadConfig, final AsyncCallback<ListLoadResult<Dataset>> callback) {
|
||||
TDGWTServiceAsync.INSTANCE.getDatasets(new AsyncCallback<ArrayList<Dataset>>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
callback.onFailure(caught);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(ArrayList<Dataset> result) {
|
||||
Log.trace("loaded "+result.size()+" datasets");
|
||||
callback.onSuccess(new ListLoadResultBean<Dataset>(result));
|
||||
|
@ -175,7 +171,6 @@ public class DatasetSelectionPanel extends ContentPanel implements HasSelectionH
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public HandlerRegistration addSelectionHandler(SelectionHandler<Dataset> handler) {
|
||||
return grid.getSelectionModel().addSelectionHandler(handler);
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ public class SDMXAgenciesSelectionCard extends WizardCard {
|
|||
|
||||
agenciesSelectionPanel.addSelectionHandler(new SelectionHandler<Agencies>(){
|
||||
|
||||
@Override
|
||||
|
||||
public void onSelection(SelectionEvent<Agencies> event) {
|
||||
exportSession.setAgency(agenciesSelectionPanel.getSelectedItem());
|
||||
getWizardWindow().setEnableNextButton(true);
|
||||
|
@ -53,7 +53,7 @@ public class SDMXAgenciesSelectionCard extends WizardCard {
|
|||
public void setup(){
|
||||
Command sayNextCard = new Command() {
|
||||
|
||||
@Override
|
||||
|
||||
public void execute() {
|
||||
SDMXTableDetailCard sdmxTableDetailCard = new SDMXTableDetailCard(
|
||||
exportSession);
|
||||
|
|
|
@ -67,7 +67,7 @@ public class SDMXAgencyTypeCard extends WizardCard {
|
|||
|
||||
toggle.addValueChangeHandler(new ValueChangeHandler<HasValue<Boolean>>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onValueChange(ValueChangeEvent<HasValue<Boolean>> event) {
|
||||
try {
|
||||
ToggleGroup group = (ToggleGroup) event.getSource();
|
||||
|
|
|
@ -35,7 +35,7 @@ public class SDMXCodelistSelectionCard extends WizardCard {
|
|||
|
||||
codelistSelectionPanel.addSelectionHandler(new SelectionHandler<Codelist>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onSelection(SelectionEvent<Codelist> event) {
|
||||
//exportSession.setSelectedCodelist(codelistSelectionPanel.getSelectedItem());
|
||||
getWizardWindow().setEnableNextButton(true);
|
||||
|
@ -53,7 +53,6 @@ public class SDMXCodelistSelectionCard extends WizardCard {
|
|||
public void setup(){
|
||||
Command sayNextCard = new Command() {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
/*SDMXTableDetailCard sdmxTableDetailCard = new SDMXTableDetailCard(
|
||||
exportSession);
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SDMXExportWizardTD extends WizardWindow {
|
|||
TDGWTServiceAsync.INSTANCE
|
||||
.getTabResourceInformation(new AsyncCallback<TabResource>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onFailure(Throwable caught) {
|
||||
Log.error("No Tabular Resource Information retrived from server "
|
||||
+ caught.getLocalizedMessage());
|
||||
|
@ -52,7 +52,6 @@ public class SDMXExportWizardTD extends WizardWindow {
|
|||
close(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(TabResource result) {
|
||||
Log.debug("Tabular Resource Information retrived");
|
||||
exportSession.setTabResource(result);
|
||||
|
|
|
@ -13,7 +13,7 @@ import com.google.gwt.core.client.EntryPoint;
|
|||
*/
|
||||
public class SDMXExportWizardTDEntry implements EntryPoint {
|
||||
|
||||
@Override
|
||||
|
||||
public void onModuleLoad() {
|
||||
SDMXExportWizardTD exportWizard= new SDMXExportWizardTD("SDMXExport");
|
||||
Log.info(exportWizard.getId());
|
||||
|
|
|
@ -107,12 +107,11 @@ SDMXExportProgressListener {
|
|||
public void exportSDMX() {
|
||||
TDGWTServiceAsync.INSTANCE.startSDMXExport(exportSession, new AsyncCallback<Void>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onSuccess(Void result) {
|
||||
progressUpdater.scheduleRepeating(STATUS_POLLING_DELAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
showErrorAndHide("Error in exportSDMX",
|
||||
"An error occured in exportSDMX: "+caught.getLocalizedMessage(), caught.getStackTrace().toString(), caught);
|
||||
|
@ -130,17 +129,14 @@ SDMXExportProgressListener {
|
|||
exportSDMX();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationInitializing() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationUpdate(float elaborated) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationComplete() {
|
||||
// final String tableId,final String tableResourceId) {
|
||||
|
||||
|
@ -163,7 +159,6 @@ SDMXExportProgressListener {
|
|||
getWizardWindow().setEnableNextButton(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationFailed(Throwable caught, String reason,
|
||||
String failureDetails) {
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ public class SDMXRegistrySelectionCard extends WizardCard {
|
|||
|
||||
toggle.addValueChangeHandler(new ValueChangeHandler<HasValue<Boolean>>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onValueChange(ValueChangeEvent<HasValue<Boolean>> event) {
|
||||
try {
|
||||
ToggleGroup group = (ToggleGroup) event.getSource();
|
||||
|
@ -146,13 +146,11 @@ public class SDMXRegistrySelectionCard extends WizardCard {
|
|||
TDGWTServiceAsync.INSTANCE.setSDMXRegistrySource(
|
||||
((SDMXRegistrySource)exportSession.getSource()), new AsyncCallback<Void>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
Log.error("SDMXRegistrySource do not stored "
|
||||
+ caught.getLocalizedMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(Void result) {
|
||||
Log.info("SDMXRegistrySource stored");
|
||||
goNext();
|
||||
|
|
|
@ -119,7 +119,7 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
public void setup() {
|
||||
Command sayNextCard = new Command() {
|
||||
|
||||
@Override
|
||||
|
||||
public void execute() {
|
||||
checkData();
|
||||
}
|
||||
|
@ -151,7 +151,6 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
AlertMessageBox d;
|
||||
HideHandler hideHandler = new HideHandler() {
|
||||
|
||||
@Override
|
||||
public void onHide(HideEvent event) {
|
||||
getWizardWindow().setEnableNextButton(true);
|
||||
getWizardWindow().setEnableBackButton(false);
|
||||
|
|
|
@ -33,7 +33,7 @@ public class SDMXExportProgressBarUpdater implements SDMXExportProgressListener
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
|
||||
public void operationComplete() {
|
||||
Log.info("Export completed");
|
||||
progressBar.updateProgress(1, "Export completed.");
|
||||
|
@ -43,19 +43,16 @@ public class SDMXExportProgressBarUpdater implements SDMXExportProgressListener
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void operationFailed(Throwable caught, String reason, String failureDetails) {
|
||||
Log.info("Export failed");
|
||||
progressBar.updateText("Export failed.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationInitializing() {
|
||||
Log.info("Export Inizializing");
|
||||
progressBar.updateProgress(0, "Initializing...");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationUpdate(float elaborated) {
|
||||
Log.info("Export elaborated: "+elaborated);
|
||||
if (elaborated == 0) progressBar.updateProgress(0, "Initializing...");
|
||||
|
|
|
@ -35,7 +35,7 @@ public class SDMXExportProgressUpdater extends Timer {
|
|||
TDGWTServiceAsync.INSTANCE
|
||||
.getSDMXExportMonitor(new AsyncCallback<SDMXExportMonitor>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onFailure(Throwable caught) {
|
||||
cancel();
|
||||
Log.error("Error retrieving the operation state",
|
||||
|
@ -45,7 +45,6 @@ public class SDMXExportProgressUpdater extends Timer {
|
|||
"Failed getting operation updates", message);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(SDMXExportMonitor result) {
|
||||
Log.info("retrieved SDMXImportMonitor: "
|
||||
+ result.getStatus());
|
||||
|
@ -101,7 +100,6 @@ public class SDMXExportProgressUpdater extends Timer {
|
|||
AlertMessageBox d = new AlertMessageBox("Error in SDMX Export", details);
|
||||
d.addHideHandler(new HideHandler() {
|
||||
|
||||
@Override
|
||||
public void onHide(HideEvent event) {
|
||||
//
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue