Updated to JAVA 7
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget@86988 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d4eebbb1a2
commit
634244e985
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/tabular-data-sdmx-import-widget-2.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-import-widget-2.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-import-widget-2.0.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
</classpath>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>tabular-data-sdmx-import-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-import-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-import-widget allows sdmx import of codelists and dataset</Description>
|
||||
<Class>PortletsUser</Class>
|
||||
<Name>tabular-data-sdmx-import-widget</Name>
|
||||
<Version>1.0.0</Version>
|
||||
<Packages>
|
||||
<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>
|
||||
<MavenCoordinates>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>tabular-data-sdmx-import-widget</artifactId>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
</MavenCoordinates>
|
||||
<Type>library</Type>
|
||||
<Files>
|
||||
<File>tabular-data-sdmx-import-widget-2.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-import-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. 2.0.0-SNAPSHOT (2013-10-18)
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
tabular-data-sdmx-import-widget allows sdmx import of codelists and dataset
|
||||
|
||||
Download information
|
||||
--------------------
|
||||
Source code URL: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget
|
||||
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
tabular-data-sdmx-import-widget allows sdmx import 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-import-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-import-widget
|
|
@ -103,7 +103,7 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
|
||||
searchField.addKeyUpHandler(new KeyUpHandler() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onKeyUp(KeyUpEvent event) {
|
||||
Log.trace("searchTerm: "+searchField.getCurrentValue());
|
||||
store.applyFilters();
|
||||
|
@ -112,7 +112,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;
|
||||
|
@ -139,7 +138,6 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
protected void onAfterFirstAttach() {
|
||||
super.onAfterFirstAttach();
|
||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||
@Override
|
||||
public void execute() {
|
||||
loader.load();
|
||||
}
|
||||
|
@ -159,7 +157,6 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
grid.setColumnReordering(true);
|
||||
|
||||
SelectHandler sh = new SelectHandler() {
|
||||
@Override
|
||||
public void onSelect(SelectEvent event) {
|
||||
loader.load();
|
||||
}
|
||||
|
@ -188,12 +185,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));
|
||||
|
@ -202,7 +197,6 @@ public class CodelistSelectionPanel extends ContentPanel implements HasSelection
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public HandlerRegistration addSelectionHandler(SelectionHandler<Codelist> handler) {
|
||||
return grid.getSelectionModel().addSelectionHandler(handler);
|
||||
}
|
||||
|
|
|
@ -88,7 +88,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();
|
||||
|
@ -97,7 +97,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;
|
||||
|
@ -120,11 +119,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();
|
||||
}
|
||||
|
@ -162,12 +160,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));
|
||||
|
@ -176,7 +172,7 @@ public class DatasetSelectionPanel extends ContentPanel implements HasSelectionH
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
|
||||
public HandlerRegistration addSelectionHandler(SelectionHandler<Dataset> handler) {
|
||||
return grid.getSelectionModel().addSelectionHandler(handler);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public class SDMXCodelistSelectionCard extends WizardCard {
|
|||
|
||||
codelistSelectionPanel.addSelectionHandler(new SelectionHandler<Codelist>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onSelection(SelectionEvent<Codelist> event) {
|
||||
importSession.setSelectedCodelist(codelistSelectionPanel.getSelectedItem());
|
||||
getWizardWindow().setEnableNextButton(true);
|
||||
|
@ -52,7 +52,6 @@ public class SDMXCodelistSelectionCard extends WizardCard {
|
|||
public void setup(){
|
||||
Command sayNextCard = new Command() {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
SDMXTableDetailCard sdmxTableDetailCard = new SDMXTableDetailCard(
|
||||
importSession);
|
||||
|
|
|
@ -65,7 +65,7 @@ public class SDMXDocumentSelectionCard extends WizardCard {
|
|||
|
||||
toggle.addValueChangeHandler(new ValueChangeHandler<HasValue<Boolean>>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onValueChange(ValueChangeEvent<HasValue<Boolean>> event) {
|
||||
try {
|
||||
ToggleGroup group = (ToggleGroup) event.getSource();
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.google.gwt.core.client.EntryPoint;
|
|||
|
||||
public class SDMXImportWizardTDEntry implements EntryPoint {
|
||||
|
||||
@Override
|
||||
|
||||
public void onModuleLoad() {
|
||||
SDMXImportWizardTD importWizard= new SDMXImportWizardTD("SDMXImport");
|
||||
Log.info(importWizard.getId());
|
||||
|
|
|
@ -136,12 +136,11 @@ public class SDMXOperationInProgressCard extends WizardCard implements
|
|||
TDGWTServiceAsync.INSTANCE.startSDMXImport(
|
||||
importSession, new AsyncCallback<Void>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onSuccess(Void result) {
|
||||
progressUpdater.scheduleRepeating(STATUS_POLLING_DELAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
showErrorAndHide("Error in importSDMX",
|
||||
"An error occured in importSDMX", "", caught);
|
||||
|
@ -159,17 +158,14 @@ public class SDMXOperationInProgressCard extends WizardCard implements
|
|||
importSDMX();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationInitializing() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationUpdate(float elaborated) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationComplete(final TRId trId) {
|
||||
// final String tableId,final String tableResourceId) {
|
||||
|
||||
|
@ -194,7 +190,6 @@ public class SDMXOperationInProgressCard extends WizardCard implements
|
|||
getWizardWindow().setEnableNextButton(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationFailed(Throwable caught, String reason,
|
||||
String failureDetails) {
|
||||
|
||||
|
|
|
@ -92,7 +92,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();
|
||||
|
@ -145,13 +145,11 @@ public class SDMXRegistrySelectionCard extends WizardCard {
|
|||
TDGWTServiceAsync.INSTANCE.setSDMXRegistrySource(
|
||||
((SDMXRegistrySource)importSession.getSource()), new AsyncCallback<Void>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
Log.error("SDMXImportSession do not stored "
|
||||
+ caught.getLocalizedMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(Void result) {
|
||||
Log.info("SDMXRegistrySource stored");
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
public void setup() {
|
||||
Command sayNextCard = new Command() {
|
||||
|
||||
@Override
|
||||
|
||||
public void execute() {
|
||||
checkData();
|
||||
}
|
||||
|
@ -148,7 +148,6 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
AlertMessageBox d;
|
||||
HideHandler hideHandler = new HideHandler() {
|
||||
|
||||
@Override
|
||||
public void onHide(HideEvent event) {
|
||||
getWizardWindow().setEnableNextButton(true);
|
||||
getWizardWindow().setEnableBackButton(false);
|
||||
|
|
|
@ -77,7 +77,7 @@ public class SourceSelectionCard extends WizardCard {
|
|||
|
||||
toggle.addValueChangeHandler(new ValueChangeHandler<HasValue<Boolean>>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onValueChange(ValueChangeEvent<HasValue<Boolean>> event) {
|
||||
try {
|
||||
ToggleGroup group = (ToggleGroup) event.getSource();
|
||||
|
|
|
@ -34,7 +34,6 @@ public class ImportProgressBarUpdater implements OperationProgressListener {
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void operationComplete(TRId trId) {
|
||||
Log.info("Import complete");
|
||||
progressBar.updateProgress(1, "Import complete.");
|
||||
|
@ -44,19 +43,16 @@ public class ImportProgressBarUpdater implements OperationProgressListener {
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void operationFailed(Throwable caught, String reason, String failureDetails) {
|
||||
Log.info("Import failed");
|
||||
progressBar.updateText("Import failed.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationInitializing() {
|
||||
Log.info("Inport inizializing");
|
||||
progressBar.updateProgress(0, "Initializing...");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationUpdate(float elaborated) {
|
||||
Log.info("Import elaborated: "+elaborated);
|
||||
if (elaborated == 0) progressBar.updateProgress(0, "Initializing...");
|
||||
|
|
|
@ -38,7 +38,7 @@ public class OperationProgressUpdater extends Timer {
|
|||
TDGWTServiceAsync.INSTANCE
|
||||
.getSDMXImportMonitor(new AsyncCallback<SDMXImportMonitor>() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onFailure(Throwable caught) {
|
||||
cancel();
|
||||
Log.error("Error retrieving the operation state",
|
||||
|
@ -48,7 +48,6 @@ public class OperationProgressUpdater extends Timer {
|
|||
"Failed getting operation updates", message);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(SDMXImportMonitor result) {
|
||||
Log.info("retrieved ImportMonitor: "
|
||||
+ result.getStatus());
|
||||
|
@ -104,7 +103,6 @@ public class OperationProgressUpdater extends Timer {
|
|||
AlertMessageBox d = new AlertMessageBox("Error in SDMX Import", details);
|
||||
d.addHideHandler(new HideHandler() {
|
||||
|
||||
@Override
|
||||
public void onHide(HideEvent event) {
|
||||
//
|
||||
}
|
||||
|
|
|
@ -12,7 +12,9 @@ import com.sencha.gxt.widget.core.client.event.HideEvent;
|
|||
import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
|
||||
|
||||
/**
|
||||
* @author "Federico De Faveri defaveri@isti.cnr.it"
|
||||
*
|
||||
* @author "Giancarlo Panichi"
|
||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
*/
|
||||
public class ErrorMessageBox {
|
||||
|
@ -32,7 +34,7 @@ public class ErrorMessageBox {
|
|||
box.setMessage(failureReason);
|
||||
box.addHideHandler(new HideHandler() {
|
||||
|
||||
@Override
|
||||
|
||||
public void onHide(HideEvent event) {
|
||||
Dialog dialog = (Dialog) event.getSource();
|
||||
|
||||
|
|
|
@ -6,15 +6,18 @@ package org.gcube.portlets.user.td.sdmximportwidget.client.util;
|
|||
import com.google.gwt.core.client.Callback;
|
||||
|
||||
/**
|
||||
* @author "Federico De Faveri defaveri@isti.cnr.it"
|
||||
*
|
||||
* @author "Giancarlo Panichi"
|
||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
* @param <T>
|
||||
* @param <F>
|
||||
*/
|
||||
public class NOPCallBack<T,F> implements Callback<T, F> {
|
||||
|
||||
@Override
|
||||
|
||||
public void onFailure(F reason) {}
|
||||
|
||||
@Override
|
||||
public void onSuccess(T result) {}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue